Message ID | 159972812521.428528.4047280962991773996.stgit@devnote2 (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | tracing/boot: Add new options for tracing specific period | expand |
> -----Original Message----- > From: Masami Hiramatsu > > Add tracing_on option description to the boot-time tracer. > > Signed-off-by: Masami Hiramatsu <mhiramat@kernel.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.) -- 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. >
Hi Tim, On Thu, 10 Sep 2020 13:26:05 +0000 "Bird, Tim" <Tim.Bird@sony.com> wrote: > > > > -----Original Message----- > > From: Masami Hiramatsu > > > > Add tracing_on option description to the boot-time tracer. > > > > Signed-off-by: Masami Hiramatsu <mhiramat@kernel.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. > > >
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. + (you can enable it by the "traceon" event trigger action) + ftrace.[instance.INSTANCE.]trace_clock = CLOCK Set given CLOCK to ftrace's trace_clock.
Add tracing_on option description to the boot-time tracer. Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> --- Documentation/trace/boottime-trace.rst | 4 ++++ 1 file changed, 4 insertions(+)