diff options
author | Marco Elver <[email protected]> | 2022-01-19 18:09:56 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2022-01-20 08:52:55 +0200 |
commit | 23b36fec7e14f8cf1c17e832e53dd4761e0dfe83 (patch) | |
tree | 68a8c60f5c697d1ac1e446577abed6d93f6c25c5 /scripts | |
parent | 25d2e88632c9069cb21e23340e14cd19b8a0b1df (diff) |
panic: use error_report_end tracepoint on warnings
Introduce the error detector "warning" to the error_report event and use
the error_report_end tracepoint at the end of a warning report.
This allows in-kernel tests but also userspace to more easily determine
if a warning occurred without polling kernel logs.
[[email protected]: add comma to enum list, per Andy]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Marco Elver <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Cc: Petr Mladek <[email protected]>
Cc: Luis Chamberlain <[email protected]>
Cc: Wei Liu <[email protected]>
Cc: Mike Rapoport <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: John Ogness <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Cc: Alexander Popov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions