aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/bpf-script-example.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2018-01-02 17:59:21 +0000
committerArnaldo Carvalho de Melo <[email protected]>2018-01-08 14:11:56 +0000
commit6703c9771d83ebe092b0d49cb0609a3f9d8b4ff7 (patch)
treec4eb1a15088733e29cedc7150c78235ab179575a /tools/perf/tests/bpf-script-example.c
parentperf/x86/msr: Clean up the code (diff)
downloadkernel-6703c9771d83ebe092b0d49cb0609a3f9d8b4ff7.tar.gz
kernel-6703c9771d83ebe092b0d49cb0609a3f9d8b4ff7.zip
perf test bpf: Improve message about expected samples
When failing on one of the BPF tests we were just stating: BPF filter result incorrect Add some more info to help figuring out the problem: BPF filter result incorrect, expected 56, got 0 samples This came out while investigating this failure, first seen after updating the kernel to the 4.15.0-rc6 tag: [root@jouet ~]# perf test bpf 39: BPF filter : 39.1: Basic BPF filtering : FAILED! 39.2: BPF pinning : Skip 39.3: BPF prologue generation: Skip 39.4: BPF relocation checker : Skip [root@jouet ~]# Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/tests/bpf-script-example.c')
0 files changed, 0 insertions, 0 deletions