]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Add NULL trace-array check in print_synth_event()
authorMasami Hiramatsu <mhiramat@kernel.org>
Fri, 10 Jan 2020 16:06:05 +0000 (01:06 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 13 Jan 2020 18:19:41 +0000 (13:19 -0500)
commit3ec48c9c0a93efe5f5bfa18916ccc4cdef975fa0
tree2981419f13cf343a1ee1f0591d387ad989af8416
parent7b3b536d58f0fc397488243ea499c6fae428b73e
tracing: Add NULL trace-array check in print_synth_event()

Add NULL trace-array check in print_synth_event(), because
if we enable tp_printk option, iter->tr can be NULL.

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