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>
Showing
- kernel/trace/trace.c 37 additions, 18 deletionskernel/trace/trace.c
- kernel/trace/trace.h 4 additions, 1 deletionkernel/trace/trace.h
- kernel/trace/trace_events_filter.c 2 additions, 2 deletionskernel/trace/trace_events_filter.c
- kernel/trace/trace_events_hist.c 2 additions, 1 deletionkernel/trace/trace_events_hist.c
- kernel/trace/trace_probe.c 1 addition, 1 deletionkernel/trace/trace_probe.c
Loading
Please register or sign in to comment