aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2023-06-12 23:41:01 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-06-14 02:40:32 +0000
commit3abfcfd847717d232e36963f31a361747c388fe7 (patch)
treec8dcd5ee4f1bf89fd03fa8d29417748552ae2ebc /tools/perf/scripts/python/sched-migration.py
parentperf pfm: Remove duplicate util/cpumap.h include (diff)
downloadkernel-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