diff options
author | Ding Xiang <[email protected]> | 2018-09-07 09:34:42 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-09-19 10:25:09 -0300 |
commit | e381d1c21eea186daed6834af444575e06841355 (patch) | |
tree | 2e4b392ca67dd16e90b136d9c234591b354d44ac /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 01ab2e91103b8c23dfedfeb799bc8b810d585bd0 (diff) |
perf bpf-loader: use PTR_ERR_OR_ZERO inetead of return code
Use PTR_ERR_OR_ZERO() in bpf__setup_stdout() return code instead of open
coded equivalent.
Signed-off-by: Ding Xiang <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions