]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - kernel/trace/trace.c
tracing: Only allow trace_array_printk() to be used by instances
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 16 Jun 2020 18:53:55 +0000 (14:53 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 29 Jun 2020 13:01:02 +0000 (09:01 -0400)
commitc791cc4b1feb881b3644c059dba5464b076bf592
treee4d5f82db43aae232622f2e7bbb81624f587e21d
parent9ebcfadb0610322ac537dd7aa5d9cbc2b2894c68
tracing: Only allow trace_array_printk() to be used by instances

To prevent default "trace_printks()" from spamming the top level tracing
ring buffer, only allow trace instances to use trace_array_printk() (which
can be used without the trace_printk() start up warning).

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace.c