[PATCH 0/5] perf tools: Improve BPF support

From: Wang Nan
Date: Tue Nov 17 2015 - 03:37:02 EST


This patchset is based on Arnaldo's perf/ebpf branch
(commit 14dcf0ba2a26f680776093a7a61e74526713f9b2).

In response to Arnaldo's comment in [1], in this patch set:

Patch 1/5 fixes a bug in BPF testcase which incorrectly returns
TEST_OK when failure;

Patch 2/5 is resent with some coding style improvements.

Patch 3/5 - 4/5 provide improvements for 'perf test' to support
sub-tests output which Arnaldo looks forward [2].

Patch 5/5 mutes all testcases during testing to ensure outupt
of 'perf test' is clean when verbose is not set.

[1] http://lkml.kernel.org/g/1447675815-166222-1-git-send-email-wangnan0@xxxxxxxxxx
[2] http://lkml.kernek.org/g/20151117012924.GA22729@xxxxxxxxxx

Wang Nan (5):
perf test: Fix 2 bugs in 'perf test BPF'
perf tools: Use same BPF program if arguments are identical
perf test: Print result for each subtest for llvm
perf test: Print result for each subtest for BPF
perf test: Mute test cases if verbose == 0

tools/perf/tests/bpf.c | 45 +++++++++----
tools/perf/tests/builtin-test.c | 134 ++++++++++++++++++++++++++++++++------
tools/perf/tests/llvm.c | 65 +++++++++----------
tools/perf/tests/tests.h | 27 +++++++-
tools/perf/util/bpf-loader.c | 138 ++++++++++++++++++++++++++++++++++++++--
5 files changed, 330 insertions(+), 79 deletions(-)

--
1.8.3.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/