summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2014-04-04 17:05:19 -0700
committerJohn Stultz <john.stultz@linaro.org>2016-02-16 13:52:28 -0800
commita5c052a3e4de072c70ccf1c564b9912be8721483 (patch)
tree4414061da466178452287be60216468f8c6f87d6 /tools/perf/scripts/python/syscall-counts.py
parent10ea8c38eb083c3614d7fc632af72fe92d53b9ce (diff)
fiq_debugger: use pt_regs for registers
IRQ mode already passes in a struct pt_regs from get_irq_regs(). FIQ mode passes in something similar but not identical to a struct pt_regs - FIQ mode stores the spsr of the interrupted mode in slot 17, while pt_regs expects orig_r0. Replace the existing mixture of void *regs, unsigned *regs, and struct pt_regs * const with const struct pt_regs *. Modify dump_regs not to print the spsr since it won't be there in a struct pt_regs anyways. Modify dump_allregs to highlight the mode that was interrupted, making spsr easy to find there. Change-Id: Ibfe1723d702306c7605fd071737d7be9ee9d8c12 Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions