History

tracing/boot: Fix config dependency for synthedic event

Since commit 726721a51838 ("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

Masami Hiramatsu committed 6 years ago

Commit 6c955031 parent 097350d1 file · +1 −1Browse files

Unified · Split

kernel/trace/trace_boot.c+1−1
@@ -120,7 +120,7 @@ trace_boot_add_kprobe_event(struct xbc_node *node, const char *event) · 119 unmodified lines
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 {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t