Skip to content

Commit a925df6

Browse files
committed
tracing: Fix #if CONFIG_MODULES to #ifdef CONFIG_MODULES
A typo was introduced when adding the ":mod:" command that did a "#if CONFIG_MODULES" instead of a "#ifdef CONFIG_MODULES". Fix it. Cc: Masami Hiramatsu <[email protected]> Cc: Mathieu Desnoyers <[email protected]> Cc: Linus Torvalds <[email protected]> Link: https://lore.kernel.org/[email protected] Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Fixes: b355247 ("tracing: Cache ":mod:" events for modules not loaded yet") Signed-off-by: Steven Rostedt (Google) <[email protected]>
1 parent 542079b commit a925df6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/trace/trace_events.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ static int ftrace_event_enable_disable(struct trace_event_file *file,
857857
return __ftrace_event_enable_disable(file, enable, 0);
858858
}
859859

860-
#if CONFIG_MODULES
860+
#ifdef CONFIG_MODULES
861861
struct event_mod_load {
862862
struct list_head list;
863863
char *module;

0 commit comments

Comments
 (0)