aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorXiong Nandi <[email protected]>2024-05-24 12:26:00 +0800
committerAndrew Morton <[email protected]>2024-06-24 22:25:00 -0700
commit78efbfb5b7675b88d987fda108df0a2f3e07e722 (patch)
treefc0d7a498a3a38da7cb980652fd3c22f0e07aae1 /tools/perf/scripts/python
parentb41838fe11ce1d2d994210c2c79582499c53e0ca (diff)
scripts/decode_stacktrace.sh: better support to ARM32 module stack trace
Sometimes there are special characters around module names in stack traces, such as ARM32 with BACKTRACE_VERBOSE in "(%pS)" format, such as: [<806e4845>] (dump_stack_lvl) from [<7f806013>] (hello_init+0x13/0x1000 [test]) In this case, $module will be "[test])", the trace can be decoded by stripping the right parenthesis first: (dump_stack_lvl) from hello_init (/foo/test.c:10) test. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Xiong Nandi <[email protected]> Suggested-by: Elliot Berman <[email protected]> Cc: Bjorn Andersson <[email protected]> Cc: Carlos Llamas <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions