]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Have the error logs show up in the proper instances
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 2 Apr 2019 02:52:21 +0000 (22:52 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 8 Apr 2019 13:22:44 +0000 (09:22 -0400)
commit554ccafc722d7ac64d1c73c6bdb3d509f0577fd7
tree61cc094e172790fadfa6c95768317a2aa4030666
parent0d262952479885f5cb754e7e7a78d2187d8df0f5
tracing: Have the error logs show up in the proper instances

As each instance has their own error_log file, it makes more sense that the
instances show the errors of their own instead of all error_logs having the
same data. Make it that the errors show up in the instance error_log file
that the error happens in. If no instance trace_array is available, then
NULL can be passed in which will create the error in the top level instance
(the one at the top of the tracefs directory).

Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Reviewed-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Tested-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace.c
kernel/trace/trace.h
kernel/trace/trace_events_filter.c
kernel/trace/trace_events_hist.c
kernel/trace/trace_probe.c