diff options
author | John Ogness <[email protected]> | 2024-02-07 14:46:56 +0106 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2024-02-07 17:23:18 +0100 |
commit | 36652d0f3bf34899e82d31a5fa9e2bdd02fd6381 (patch) | |
tree | 0d82d8d69b7ca76722ab537adab5a18b0fd30dd5 /tools/perf/util/trace-event-scripting.c | |
parent | 0ab7cdd00491b532591ef065be706301de7e448f (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