Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

tracing: Remove duplicate ENABLE_EVENT_STR and DISABLE_EVENT_STR macros

The macros ENABLE_EVENT_STR and DISABLE_EVENT_STR were added to trace.h so
that more than one file can have access to them, but was never removed
from their original location. Remove the duplicates.

Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Tom Zanussi <zanussi@kernel.org>
Link: https://patch.msgid.link/20260126130037.4ba201f9@gandalf.local.home
Fixes: d0bad49bb0a09 ("tracing: Add enable_hist/disable_hist triggers")
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>

-5
-5
kernel/trace/trace_events.c
··· 4097 4097 EXPORT_SYMBOL_GPL(trace_put_event_file); 4098 4098 4099 4099 #ifdef CONFIG_DYNAMIC_FTRACE 4100 - 4101 - /* Avoid typos */ 4102 - #define ENABLE_EVENT_STR "enable_event" 4103 - #define DISABLE_EVENT_STR "disable_event" 4104 - 4105 4100 struct event_probe_data { 4106 4101 struct trace_event_file *file; 4107 4102 unsigned long count;