tracing: Add creation of instances at boot command line
authorSteven Rostedt (Google) <rostedt@goodmis.org>
Tue, 7 Feb 2023 17:28:50 +0000 (12:28 -0500)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Tue, 7 Feb 2023 17:49:56 +0000 (12:49 -0500)
commitcb1f98c5e5742273bca39410d504430793ab701a
tree49b548d0bc0d127bb822339ea39266d9d220db3f
parent9971c3f944489ff7aacb9d25e0cde841a5f6018a
tracing: Add creation of instances at boot command line

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()!

Link: https://lkml.kernel.org/r/20230207173026.186210158@goodmis.org
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Ross Zwisler <zwisler@google.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Documentation/admin-guide/kernel-parameters.txt
kernel/trace/trace.c