Thread (15 messages) 15 messages, 4 authors, 2020-09-11

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

From: Masami Hiramatsu <mhiramat@kernel.org>
Date: 2020-09-10 22:41:17
Also in: linux-kselftest, lkml

Hi Tim,

On Thu, 10 Sep 2020 13:26:05 +0000
"Bird, Tim" [off-list ref] wrote:
quoted
-----Original Message-----
From: Masami Hiramatsu
 > 
quoted
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
quoted
+   (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 [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help