aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2017-01-12 13:55:02 +0000
committerSteven Rostedt (VMware) <[email protected]>2017-02-15 09:02:27 -0500
commit8f0994bb8cbde5452e58ce0cacdbf6cb58079d01 (patch)
tree648f3881631818216a871711b9eb014551bccfb6 /tools/perf/scripts/python/call-graph-from-postgresql.py
parenteb583cd484f9a76c3716c0539bd06340943eeff9 (diff)
tracing: Fix return value check in trace_benchmark_reg()
In case of error, the function kthread_run() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Link: http://lkml.kernel.org/r/[email protected] Cc: [email protected] Fixes: 81dc9f0e ("tracing: Add tracepoint benchmark tracepoint") Signed-off-by: Wei Yongjun <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions