[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190611175237.0ea4fa4f@gandalf.local.home>
Date: Tue, 11 Jun 2019 17:52:37 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Thomas Preisner <linux@...eisner.de>
Cc: Ingo Molnar <mingo@...hat.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ftrace: add simple oneshot function tracer
On Tue, 11 Jun 2019 22:33:11 +0200
Thomas Preisner <linux@...eisner.de> 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
Powered by blists - more mailing lists