On Tue, 11 Jun 2019 22:33:11 +0200
Thomas Preisner <[email protected]> wrote:

> However, due to there not being any mechanism (that I am aware of) to
> activate such stat tracers via kernel commandline this oneshot profiler
> is now always active when selected. Therefore, it is no longer possible
> to disable this tracer during runtime and thus, allocated memory is no
> longer freed.

What do you mean? The function profile has its own file to enable it:

 echo 1 > /sys/kernel/tracing/function_profile_enabled

And disable it:

 echo 0 > /sys/kernel/tracing/function_profile_enabled

-- Steve

  • [no subject] Thomas Preisner
    • Re: [PATCH] ftrace: add simple oneshot function trace... Steven Rostedt

Reply via email to