lkml.org 
[lkml]   [2015]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/4] perf bpf: Improve error code delivering and output
Date
This patchset is based on perf/core
(commit bebd23a2ed31d47e7dd746d3b125068aa2c42d85 in Arnaldo's tree).

Compare with v1 [1], this patchset changes error reporting convention
and the user of it at one same patch, avoid NULL checking in perf.

Wang Nan (4):
perf test: Keep test result clean if '-v' not set
perf tools: Mute libbpf when '-v' not set
bpf tools: Improve libbpf error reporting
perf tools: Improve BPF related error messages output

tools/lib/bpf/libbpf.c | 149 +++++++++++++++++++++++++------------
tools/lib/bpf/libbpf.h | 12 +++
tools/perf/tests/attr.c | 3 +-
tools/perf/tests/code-reading.c | 8 +-
tools/perf/tests/keep-tracking.c | 4 +-
tools/perf/tests/llvm.c | 13 ++--
tools/perf/tests/switch-tracking.c | 4 +-
tools/perf/util/bpf-loader.c | 110 +++++++++++++++++++++++----
tools/perf/util/bpf-loader.h | 18 +++++
tools/perf/util/parse-events.c | 11 +--
10 files changed, 245 insertions(+), 87 deletions(-)

--
1.8.3.4



\
 
 \ /
  Last update: 2015-11-04 03:41    [W:0.098 / U:0.872 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site