]> git.baikalelectronics.ru Git - kernel.git/commit
tracing/boot: Show correct histogram error command
authorMasami Hiramatsu <mhiramat@kernel.org>
Tue, 10 Aug 2021 02:07:44 +0000 (11:07 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 16 Aug 2021 15:37:21 +0000 (11:37 -0400)
commitecb72aa8e0dc39475d1204820040294b52867a06
tree656fe64553bf16f2151f8a72021581debb0fd906
parente2278c1ad0da62fe5e4a5feb6f6cc787dd437288
tracing/boot: Show correct histogram error command

Since trigger_process_regex() modifies given trigger actions
while parsing, the error message couldn't show what command
was passed to the trigger_process_regex() when it returns
an error.

To fix that, show the backed up trigger action command
instead of parsed buffer.

Link: https://lkml.kernel.org/r/162856126413.203126.9465564928450701424.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_boot.c