aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorGuo Ren <[email protected]>2020-05-13 07:15:25 +0000
committerGuo Ren <[email protected]>2020-05-13 09:55:06 +0000
commit18c07d23da5a48525b2955aa269b8bb108c19300 (patch)
tree450a798836c2658ff1a2b7fce73bbc5bd59df9af /tools/perf/scripts/python/sched-migration.py
parentcsky: Fixup perf callchain unwind (diff)
downloadkernel-18c07d23da5a48525b2955aa269b8bb108c19300.tar.gz
kernel-18c07d23da5a48525b2955aa269b8bb108c19300.zip
csky: Fixup calltrace panic
The implementation of show_stack will panic with wrong fp: addr = *fp++; because the fp isn't checked properly. The current implementations of show_stack, wchan and stack_trace haven't been designed properly, so just deprecate them. This patch is a reference to riscv's way, all codes are modified from arm's. The patch is passed with: - cat /proc/<pid>/stack - cat /proc/<pid>/wchan - echo c > /proc/sysrq-trigger Signed-off-by: Guo Ren <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions