]> Gentwo Git Trees - linux/.git/commit
tracing: Have function graph tracer option sleep-time be per instance
authorSteven Rostedt <rostedt@goodmis.org>
Fri, 14 Nov 2025 19:22:32 +0000 (14:22 -0500)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Fri, 14 Nov 2025 19:30:55 +0000 (14:30 -0500)
commit5abb6ccb58f0626a0b7577908bcb698b18812eed
tree32738409767fc34594a2ef1639f4f207ab4c93df
parent4132886e1b74d031a1de8f0e9bac44056cf57304
tracing: Have function graph tracer option sleep-time be per instance

Currently the option to have function graph tracer to ignore time spent
when a task is sleeping is global when the interface is per-instance.
Changing the value in one instance will affect the results of another
instance that is also running the function graph tracer. This can lead to
confusing results.

Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: https://patch.msgid.link/20251114192318.950255167@kernel.org
Fixes: c132be2c4fcc1 ("function_graph: Have the instances use their own ftrace_ops for filtering")
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/fgraph.c
kernel/trace/ftrace.c
kernel/trace/trace.h
kernel/trace/trace_functions_graph.c