Re: [RFC PATCH 1/2] tracing: Introduce stack filter for trace events

2024-03-28 Thread Steven Rostedt
On Thu, 25 Jan 2024 06:50:21 + Sicheng Liu wrote: Sorry for the late reply, this got missed in a flood of other patches, not to mention it was sent when I was very behind and probably just skipped it for "todo later". Well, it's later ;-) > Stack filter can be used to filter event call stack

[RFC PATCH 1/2] tracing: Introduce stack filter for trace events

2024-01-24 Thread Sicheng Liu
Stack filter can be used to filter event call stacks, so that only those trace events whose call stacks match the stack filters can appear in the trace output. A new config "CONFIG_TRACE_EVENT_STACK_FILTER" is added, if enabled, "stack_filter" will be created under the directory of a trace event.