]> git.baikalelectronics.ru Git - kernel.git/commit
tracing/boot: Fix a hist trigger dependency for boot time tracing
authorMasami Hiramatsu <mhiramat@kernel.org>
Tue, 10 Aug 2021 02:07:14 +0000 (11:07 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 16 Aug 2021 15:37:20 +0000 (11:37 -0400)
commitb8fe5f7713293e1dce292a8d702b42b225dceaca
tree2d74fa493e930855cd33902cca674dd6df8fb976
parent91fe27ff9fde793e10e2a154dc65665fad8fa679
tracing/boot: Fix a hist trigger dependency for boot time tracing

Fixes a build error when CONFIG_HIST_TRIGGERS=n with boot-time
tracing. Since the trigger_process_regex() is defined only
when CONFIG_HIST_TRIGGERS=y, if it is disabled, the 'actions'
event option also must be disabled.

Link: https://lkml.kernel.org/r/162856123376.203126.582144262622247352.stgit@devnote2
Fixes: 0e0db28ef497 ("tracing/boot: Add per-event settings")
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_boot.c