On Fri, Nov 16, 2018 at 04:37:55PM -0600, Timur Tabi wrote: > Is there a way to enable ftrace tracing only for one specific function > and all the functions it calls? Then when the function returns, > disable tracing until the next time? > > When I pass the function name only to set_ftrace_filter, it literally > only traces that function, which doesn't help me.
I think you're looking for the set_graph_function option for the function_graph tracer.

