Re: [PATCH 1/4] tracing: Add creation of instances at boot command line
flat view
From: Randy Dunlap <rdunlap@infradead.org>
Date: 2023-01-11 16:34:10
Also in:
lkml
On 1/11/23 06:56, Steven Rostedt wrote:
quoted hunk ↗ jump to hunk
From: "Steven Rostedt (Google)" <rostedt@goodmis.org> Add kernel command line to add tracing instances. This only creates instances at boot but still does not enable any events to them. Later changes will extend this command line to add enabling of events, filters, and triggers. As well as possibly redirecting trace_printk()! Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org> --- .../admin-guide/kernel-parameters.txt | 6 +++ kernel/trace/trace.c | 51 +++++++++++++++++++ 2 files changed, 57 insertions(+)diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 6cfa6e3996cf..cec486217ccc 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt@@ -6272,6 +6272,12 @@ comma-separated list of trace events to enable. See also Documentation/trace/events.rst + trace_instance=[instance-info] + [FTRACE] Create an ring buffer instance early in boot up.
s/an/a/
quoted hunk ↗ jump to hunk
+ This will be listed in: + + /sys/kernel/tracing/instances + trace_options=[option-list] [FTRACE] Enable or disable tracer options at boot. The option-list is a comma delimited list of options
-- ~Randy