Re: Enable tracing only for one function and its children?

2018-11-16 Thread Keith Busch
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

Re: Enable tracing only for one function and its children?

2018-11-16 Thread Keith Busch
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

Enable tracing only for one function and its children?

2018-11-16 Thread Timur Tabi
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

Enable tracing only for one function and its children?

2018-11-16 Thread Timur Tabi
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