projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
perf test: Fix basic bpf filtering test
[linux-2.6-microblaze.git]
/
tools
/
perf
/
tests
/
bpf.c
diff --git
a/tools/perf/tests/bpf.c
b/tools/perf/tests/bpf.c
index
5d20bf8
..
cd77e33
100644
(file)
--- a/
tools/perf/tests/bpf.c
+++ b/
tools/perf/tests/bpf.c
@@
-197,7
+197,7
@@
static int do_test(struct bpf_object *obj, int (*func)(void),
perf_mmap__read_done(&md->core);
}
perf_mmap__read_done(&md->core);
}
- if (count != expect) {
+ if (count != expect
* evlist->core.nr_entries
) {
pr_debug("BPF filter result incorrect, expected %d, got %d samples\n", expect, count);
goto out_delete_evlist;
}
pr_debug("BPF filter result incorrect, expected %d, got %d samples\n", expect, count);
goto out_delete_evlist;
}