Re: [PATCH] tracing/trace: apply filters on all output channels

From: Steven Rostedt
Date: Mon Aug 16 2021 - 11:02:21 EST


On Sat, 14 Aug 2021 11:45:38 +0800
Pingfan Liu <kernelfans@xxxxxxxxx> wrote:

> 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.

Nice.

I'll even add a stable tag and:

Fixes: 0daa2302968c1 ("tracing: Add tp_printk cmdline to have tracepoints go to printk()")

and push this to urgent.

Thanks,

-- Steve


>
> Signed-off-by: Pingfan Liu <kernelfans@xxxxxxxxx>
> Cc: Steven Rostedt <rostedt@xxxxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> To: linux-kernel@xxxxxxxxxxxxxxx
> ---