aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/punit_ipc.c
diff options
context:
space:
mode:
authorSteven Rostedt <[email protected]>2025-01-21 20:13:36 +0000
committerSteven Rostedt (Google) <[email protected]>2025-01-21 20:23:07 +0000
commit8f21943e101a15f56a8f02970a80edc936de8ec8 (patch)
treed30f2c1d175fb6a84715b9a2d485d7705ea4a2a2 /drivers/platform/x86/intel/punit_ipc.c
parenttracing: Fix allocation of printing set_event file content (diff)
downloadkernel-8f21943e101a15f56a8f02970a80edc936de8ec8.tar.gz
kernel-8f21943e101a15f56a8f02970a80edc936de8ec8.zip
tracing: Fix output of set_event for some cached module events
The following works fine: ~# echo ':mod:trace_events_sample' > /sys/kernel/tracing/set_event ~# cat /sys/kernel/tracing/set_event *:*:mod:trace_events_sample ~# But if a name is given without a ':' where it can match an event name or system name, the output of the cached events does not include a new line: ~# echo 'foo_bar:mod:trace_events_sample' > /sys/kernel/tracing/set_event ~# cat /sys/kernel/tracing/set_event foo_bar:mod:trace_events_sample~# Add the '\n' to that as well. Cc: Masami Hiramatsu <[email protected]> Cc: Mathieu Desnoyers <[email protected]> Link: https://lore.kernel.org/[email protected] Fixes: b355247df104e ("tracing: Cache ":mod:" events for modules not loaded yet") Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/punit_ipc.c')
0 files changed, 0 insertions, 0 deletions