Re: [PATCH v3 3/8] Documentation: tracing: Add tracing_on option to boot-time tracer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tim,

On Thu, 10 Sep 2020 13:26:05 +0000
"Bird, Tim" <Tim.Bird@xxxxxxxx> wrote:

> 
> 
> > -----Original Message-----
> > From: Masami Hiramatsu
>  > 
> > Add tracing_on option description to the boot-time tracer.
> > 
> > Signed-off-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx>
> > ---
> >  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@xxxxxxxxxx>



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux