Skip to content

Commit 6c95503

Browse files
mhiramatrostedt
authored andcommitted
tracing/boot: Fix config dependency for synthedic event
Since commit 726721a ("tracing: Move synthetic events to a separate file") decoupled synthetic event from histogram, boot-time tracing also has to check CONFIG_SYNTH_EVENT instead of CONFIG_HIST_TRIGGERS. Link: http://lkml.kernel.org/r/159262475441.185015.5300725180746017555.stgit@devnote2 Fixes: 726721a ("tracing: Move synthetic events to a separate file") Reviewed-by: Tom Zanussi <zanussi@kernel.org> Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
1 parent 097350d commit 6c95503

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎kernel/trace/trace_boot.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ trace_boot_add_kprobe_event(struct xbc_node *node, const char *event)
120120
}
121121
#endif
122122

123-
#ifdef CONFIG_HIST_TRIGGERS
123+
#ifdef CONFIG_SYNTH_EVENTS
124124
static int __init
125125
trace_boot_add_synth_event(struct xbc_node *node, const char *event)
126126
{

0 commit comments

Comments
 (0)