[RFC PATCH 2/2] tracing: Add documentation for event stack filter

2024-01-24 Thread Sicheng Liu
A new chapter describing how to use trace event stack filter is added to the documentation. Signed-off-by: Sicheng Liu --- Documentation/trace/events.rst | 88 ++ 1 file changed, 88 insertions(+) diff --git a/Documentation/trace/events.rst b/Documentation/trace/e

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