aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/stat.h
diff options
context:
space:
mode:
authorDing Xiang <dingxiang@cmss.chinamobile.com>2018-09-07 09:34:42 +0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-09-19 10:25:09 -0300
commite381d1c21eea186daed6834af444575e06841355 (patch)
tree2e4b392ca67dd16e90b136d9c234591b354d44ac /tools/perf/util/stat.h
parenttools include: Adopt PTR_ERR_OR_ZERO from the kernel err.h header (diff)
downloadlinux-dev-e381d1c21eea186daed6834af444575e06841355.tar.xz
linux-dev-e381d1c21eea186daed6834af444575e06841355.zip
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/util/stat.h')
0 files changed, 0 insertions, 0 deletions