]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Add 'hist:' to hist trigger error log error string
authorTom Zanussi <zanussi@kernel.org>
Fri, 28 Jun 2019 17:40:22 +0000 (12:40 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 29 Jan 2020 04:17:10 +0000 (23:17 -0500)
commita1eb441cacc2bb41bd8b59c1160e889c116a08bf
treed95c8097b330a9ba44b87653d2fcfa2c6fb7953c
parent125c1f0d3b2003b6a75126d9a666595e5c8ead93
tracing: Add 'hist:' to hist trigger error log error string

The 'hist:' prefix gets stripped from the command text during command
processing, but should be added back when displaying the command
during error processing.

Not only because it's what should be displayed but also because not
having it means the test cases fail because the caret is miscalculated
by the length of the prefix string.

Link: http://lkml.kernel.org/r/449df721f560042e22382f67574bcc5b4d830d3d.1561743018.git.zanussi@kernel.org
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Tom Zanussi <zanussi@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_events_hist.c