Skip to content
Commit 6c34df6f authored by Pingfan Liu's avatar Pingfan Liu Committed by Steven Rostedt (VMware)
Browse files

tracing: Apply trace filters on all output channels

The event filters are not applied on all of the output, which results in
the flood of printk when using tp_printk. Unfolding
event_trigger_unlock_commit_regs() into trace_event_buffer_commit(), so
the filters can be applied on every output.

Link: https://lkml.kernel.org/r/20210814034538.8428-1-kernelfans@gmail.com



Cc: stable@vger.kernel.org
Fixes: 0daa2302 ("tracing: Add tp_printk cmdline to have tracepoints go to printk()")
Signed-off-by: default avatarPingfan Liu <kernelfans@gmail.com>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent 5acce0bf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment