aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorJohn Ogness <[email protected]>2024-02-07 14:46:56 +0106
committerPetr Mladek <[email protected]>2024-02-07 17:23:18 +0100
commit36652d0f3bf34899e82d31a5fa9e2bdd02fd6381 (patch)
tree0d82d8d69b7ca76722ab537adab5a18b0fd30dd5 /tools/perf/util/trace-event-scripting.c
parent0ab7cdd00491b532591ef065be706301de7e448f (diff)
printk: Add this_cpu_in_panic()
There is already panic_in_progress() and other_cpu_in_panic(), but checking if the current CPU is the panic CPU must still be open coded. Add this_cpu_in_panic() to complete the set. Signed-off-by: John Ogness <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions