Skip to content

Commit 9df0e49

Browse files
committed
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: d0bad49 ("tracing: Add enable_hist/disable_hist triggers") Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
1 parent e62750b commit 9df0e49

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

kernel/trace/trace_events.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4097,11 +4097,6 @@ void trace_put_event_file(struct trace_event_file *file)
40974097
EXPORT_SYMBOL_GPL(trace_put_event_file);
40984098

40994099
#ifdef CONFIG_DYNAMIC_FTRACE
4100-
4101-
/* Avoid typos */
4102-
#define ENABLE_EVENT_STR "enable_event"
4103-
#define DISABLE_EVENT_STR "disable_event"
4104-
41054100
struct event_probe_data {
41064101
struct trace_event_file *file;
41074102
unsigned long count;

0 commit comments

Comments
 (0)