[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200911074110.fa9d19c152f3c35947199360@kernel.org>
Date: Fri, 11 Sep 2020 07:41:10 +0900
From: Masami Hiramatsu <mhiramat@...nel.org>
To: "Bird, Tim" <Tim.Bird@...y.com>
Cc: Steven Rostedt <rostedt@...dmis.org>,
Jonathan Corbet <corbet@....net>,
Shuah Khan <skhan@...uxfoundation.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
Randy Dunlap <rdunlap@...radead.org>,
Ingo Molnar <mingo@...nel.org>,
"linux-kselftest@...r.kernel.org" <linux-kselftest@...r.kernel.org>
Subject: Re: [PATCH v3 3/8] Documentation: tracing: Add tracing_on option to
boot-time tracer
Hi Tim,
On Thu, 10 Sep 2020 13:26:05 +0000
"Bird, Tim" <Tim.Bird@...y.com> wrote:
>
>
> > -----Original Message-----
> > From: Masami Hiramatsu
> >
> > Add tracing_on option description to the boot-time tracer.
> >
> > Signed-off-by: Masami Hiramatsu <mhiramat@...nel.org>
> > ---
> > Documentation/trace/boottime-trace.rst | 4 ++++
> > 1 file changed, 4 insertions(+)
> >
> > diff --git a/Documentation/trace/boottime-trace.rst b/Documentation/trace/boottime-trace.rst
> > index dcb390075ca1..1341b449acaa 100644
> > --- a/Documentation/trace/boottime-trace.rst
> > +++ b/Documentation/trace/boottime-trace.rst
> > @@ -61,6 +61,10 @@ These options can be used for each instance including global ftrace node.
> > ftrace.[instance.INSTANCE.]options = OPT1[, OPT2[...]]
> > Enable given ftrace options.
> >
> > +ftrace.[instance.INSTANCE.]tracing_on = 0|1
> > + Enable/Disable tracing on this instance when boot.
>
> when boot. -> when booting.
> (or when boot. -> on boot.)
Thanks! "when booting" or maybe "when starting boot-time tracing"
will be more accurate, since if user sets the "ftrace=function"
in the kernel command line, it will start tracing function calls
until the boot-time tracing stops it by this option.
Thank you,
> -- Tim
>
> > + (you can enable it by the "traceon" event trigger action)
> > +
> > ftrace.[instance.INSTANCE.]trace_clock = CLOCK
> > Set given CLOCK to ftrace's trace_clock.
> >
>
--
Masami Hiramatsu <mhiramat@...nel.org>
Powered by blists - more mailing lists