tracing: Use tracing error_log with hist triggers
authorTom Zanussi <tom.zanussi@linux.intel.com>
Sun, 31 Mar 2019 23:48:17 +0000 (18:48 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 2 Apr 2019 22:24:07 +0000 (18:24 -0400)
commitd566c5e9d1bad6773fe9cce3d4514cca2cc32e4e
tree4049b61e967ecedd299543242ab630a163caeba5
parenta1a05bb40e229d148c071fcd2ed787b21f61ff8b
tracing: Use tracing error_log with hist triggers

Replace hist_err() and hist_err_event() with tracing_log_err() from
the new tracing error_log mechanism.

Also add a couple related helper functions and remove most of the old
hist_err()-related code.

With this change, users no longer read the hist files for hist trigger
error information, but instead look at tracing/error_log for the same
information.

Link: http://lkml.kernel.org/r/c98f77a97c9715d18b623eeb5741057b330d5ac0.1554072478.git.tom.zanussi@linux.intel.com
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_events_hist.c