diff options
| author | Namhyung Kim <[email protected]> | 2023-06-12 23:41:01 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-06-14 02:40:32 +0000 |
| commit | 3abfcfd847717d232e36963f31a361747c388fe7 (patch) | |
| tree | c8dcd5ee4f1bf89fd03fa8d29417748552ae2ebc /tools/perf/scripts/python/sched-migration.py | |
| parent | perf pfm: Remove duplicate util/cpumap.h include (diff) | |
| download | kernel-3abfcfd847717d232e36963f31a361747c388fe7.tar.gz kernel-3abfcfd847717d232e36963f31a361747c388fe7.zip | |
perf dwarf-aux: Fix off-by-one in die_get_varname()
The die_get_varname() returns "(unknown_type)" string if it failed to
find a type for the variable. But it had a space before the opening
parenthesis and it made the closing parenthesis cut off due to the
off-by-one in the string length (14).
Signed-off-by: Namhyung Kim <[email protected]>
Fixes: 88fd633cdfa19060 ("perf probe: No need to use formatting strbuf method")
Cc: Adrian Hunter <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
