linux-yocto/samples
Steven Rostedt b1627af84e tracing: samples: Initialize trace_array_printk() with the correct function
commit 1b0c192c92ea1fe2dcb178f84adf15fe37c3e7c8 upstream.

When using trace_array_printk() on a created instance, the correct
function to use to initialize it is:

  trace_array_init_printk()

Not

  trace_printk_init_buffer()

The former is a proper function to use, the latter is for initializing
trace_printk() and causes the NOTICE banner to be displayed.

Cc: stable@vger.kernel.org
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Divya Indi <divya.indi@oracle.com>
Link: https://lore.kernel.org/20250509152657.0f6744d9@gandalf.local.home
Fixes: 89ed42495e ("tracing: Sample module to demonstrate kernel access to Ftrace instances.")
Fixes: 38ce2a9e33 ("tracing: Add trace_array_init_printk() to initialize instance trace_printk() buffers")
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-05-22 14:12:21 +02:00
..
acrn
auxdisplay
binderfs
bpf samples/bpf: Fix a resource leak 2024-12-14 20:00:03 +01:00
configfs
connector
coresight
fanotify
fprobe
ftrace tracing: samples: Initialize trace_array_printk() with the correct function 2025-05-22 14:12:21 +02:00
hid
hidraw
hw_breakpoint
kdb
kfifo
kmemleak
kobject
kprobes
landlock samples/landlock: Fix possible NULL dereference in parse_path() 2025-02-08 09:51:57 +01:00
livepatch
mei
nitro_enclaves
pfsm
pidfd
pktgen samples: pktgen: correct dev to DEV 2024-11-22 15:38:32 +01:00
qmi
rpmsg
rust
seccomp
timers
trace_events tracing: Verify event formats that have "%*p.." 2025-05-02 07:50:37 +02:00
trace_printk
uhid
user_events
v4l
vfio-mdev vfio/mtty: Overhaul mtty interrupt handling 2024-01-10 17:16:55 +01:00
vfs
watch_queue
watchdog
Kconfig
Makefile