summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2023-06-12 16:41:01 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2023-06-13 23:40:32 -0300
commit3abfcfd847717d232e36963f31a361747c388fe7 (patch)
treec8dcd5ee4f1bf89fd03fa8d29417748552ae2ebc /tools/perf/scripts/python/task-analyzer.py
parentd15b8c76c964e882593365a5d1b4b924c945b90e (diff)
downloadlinux-stable-3abfcfd847717d232e36963f31a361747c388fe7.tar.gz
linux-stable-3abfcfd847717d232e36963f31a361747c388fe7.tar.bz2
linux-stable-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 <namhyung@kernel.org> Fixes: 88fd633cdfa19060 ("perf probe: No need to use formatting strbuf method") Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Ian Rogers <irogers@google.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20230612234102.3909116-1-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions