aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorMark Rutland <[email protected]>2016-05-31 12:07:47 +0100
committerWill Deacon <[email protected]>2016-06-03 10:16:20 +0100
commit8051f4d16ef1d037e7b12abab79c3e0b960f4d36 (patch)
tree1f3075112bfe2d3e87654acabc1915dfee70b734 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent10fdf8513f776c8b2588bb7b924fb243ae2462d6 (diff)
arm64: report CPU number in bad_mode
If we take an exception we don't expect (e.g. SError), we report this in the bad_mode handler with pr_crit. Depending on the configured log level, we may or may not log additional information in functions called subsequently. Notably, the messages in dump_stack (including the CPU number) are printed with KERN_DEFAULT and may not appear. Some exceptions have an IMPLEMENTATION DEFINED ESR_ELx.ISS encoding, and knowing the CPU number is crucial to correctly decode them. To ensure that this is always possible, we should log the CPU number along with the ESR_ELx value, so we are not reliant on subsequent logs or additional printk configuration options. This patch logs the CPU number in bad_mode such that it is possible for a developer to decode these exceptions, provided access to sufficient documentation. Signed-off-by: Mark Rutland <[email protected]> Reported-by: Al Grant <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Dave Martin <[email protected]> Cc: Robin Murphy <[email protected]> Cc: Will Deacon <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions