aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2019-04-08 16:56:34 +0000
committerWill Deacon <[email protected]>2019-04-08 17:05:24 +0000
commit1e6f5440a6814d28c32d347f338bfef68bc3e69d (patch)
tree4010520c549266a7637d2587f0a541355da026b2 /tools/perf/scripts/python/event_analyzing_sample.py
parentarm64/ftrace: fix inadvertent BUG() in trampoline check (diff)
downloadkernel-1e6f5440a6814d28c32d347f338bfef68bc3e69d.tar.gz
kernel-1e6f5440a6814d28c32d347f338bfef68bc3e69d.zip
arm64: backtrace: Don't bother trying to unwind the userspace stack
Calling dump_backtrace() with a pt_regs argument corresponding to userspace doesn't make any sense and our unwinder will simply print "Call trace:" before unwinding the stack looking for user frames. Rather than go through this song and dance, just return early if we're passed a user register state. Cc: <[email protected]> Fixes: 1149aad10b1e ("arm64: Add dump_backtrace() in show_regs") Reported-by: Kefeng Wang <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions