diff options
| author | Woradorn Laodhanadhaworn <woradorn.laon@gmail.com> | 2026-07-13 11:52:49 +0700 |
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2026-07-28 07:18:50 -0400 |
| commit | efdcfd9b4f4f07aa70663ee02a79dbdf980bf582 (patch) | |
| tree | 767ce1b80c4078f4d4c20d25f61ca3a06fb7b9b1 /tools/perf/scripts/python/stackcollapse.py | |
| parent | dca6a22aee1b9fb2fe26823bc3b302e8eba8d05c (diff) | |
tracing: Use seq_buf for string concatenation
In preparation for removing the strlcat API[1],
replace the string concatenation logic with a struct seq_buf,
which tracks the current position and the remaining space internally.
Use seq_buf_str() to NUL-terminate before passing to early_enable_events().
Link: https://github.com/KSPP/linux/issues/370 [1]
Link: https://patch.msgid.link/20260713045249.69942-1-woradorn.laon@gmail.com
Signed-off-by: Woradorn Laodhanadhaworn <woradorn.laon@gmail.com>
[ Moved placement of #include <linux/seq_buf.h> ]
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
