aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/interrupts.py
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2023-06-12 16:41:01 -0700
committerArnaldo Carvalho de Melo <[email protected]>2023-06-13 23:40:32 -0300
commit3abfcfd847717d232e36963f31a361747c388fe7 (patch)
treec8dcd5ee4f1bf89fd03fa8d29417748552ae2ebc /scripts/gdb/linux/interrupts.py
parentd15b8c76c964e882593365a5d1b4b924c945b90e (diff)
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 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions