diff options
| author | Steven Rostedt <[email protected]> | 2025-05-09 19:26:57 +0000 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2025-05-12 17:07:22 +0000 |
| commit | 1b0c192c92ea1fe2dcb178f84adf15fe37c3e7c8 (patch) | |
| tree | b6602bba72154f420b489f37d18eb60dda80f33b /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |
| parent | Linux 6.15-rc6 (diff) | |
| download | kernel-1b0c192c92ea1fe2dcb178f84adf15fe37c3e7c8.tar.gz kernel-1b0c192c92ea1fe2dcb178f84adf15fe37c3e7c8.zip | |
tracing: samples: Initialize trace_array_printk() with the correct function
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: [email protected]
Cc: Masami Hiramatsu <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Divya Indi <[email protected]>
Link: https://lore.kernel.org/[email protected]
Fixes: 89ed42495ef4a ("tracing: Sample module to demonstrate kernel access to Ftrace instances.")
Fixes: 38ce2a9e33db6 ("tracing: Add trace_array_init_printk() to initialize instance trace_printk() buffers")
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions
