diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2020-01-11 01:06:05 +0900 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-01-13 13:19:41 -0500 |
commit | 48ac9488a597eb6116472b6cc0bd875e245e252c (patch) | |
tree | 2981419f13cf343a1ee1f0591d387ad989af8416 /tools/perf/scripts/python | |
parent | b05e89ae7cf3bcabc52399cb833ecc9aaa51ae04 (diff) |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions