diff options
author | Peter Zijlstra <peterz@infradead.org> | 2020-05-28 16:52:40 +0200 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-06-01 08:23:42 -0400 |
commit | 58f6e384480ec97b902e44399a44862907840ba9 (patch) | |
tree | b9275114631092ae6c3b3706df678e7533c78768 /Documentation | |
parent | bea24f766efceb5322f704015c56596ff94642f7 (diff) |
ftrace,bug: Improve traceoff_on_warn
While doing some tracing, I found a huge portion of the per-cpu buffer
was taken by printk/serial output because we're disabling the trace far
too late (after printing the CUT string).
Improve matters for architectures that have GENERIC_BUG + _BUG_FLAGS by
killing the tracer in the exception handler before printing anything
much.
Link: https://lkml.kernel.org/r/20200528145240.GF706495@hirez.programming.kicks-ass.net
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions