summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorDing Xiang <dingxiang@cmss.chinamobile.com>2018-09-07 04:34:42 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-09-19 16:25:09 +0300
commite381d1c21eea186daed6834af444575e06841355 (patch)
tree2e4b392ca67dd16e90b136d9c234591b354d44ac /tools/perf/builtin-annotate.c
parent01ab2e91103b8c23dfedfeb799bc8b810d585bd0 (diff)
downloadlinux-e381d1c21eea186daed6834af444575e06841355.tar.xz
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 <dingxiang@cmss.chinamobile.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/1536284082-23466-2-git-send-email-dingxiang@cmss.chinamobile.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions