Merge tag 'perf-tools-for-v5.15-2021-09-11' of git://git.kernel.org/pub/scm/linux...
[sfrench/cifs-2.6.git] / tools / perf / tests / bpf.c
index dbf5f5215abeefd83c3dfb094881ec6b480a738d..fa03ff0dc08313d787c83aa16005cdcca1e1240b 100644 (file)
@@ -192,7 +192,7 @@ static int do_test(struct bpf_object *obj, int (*func)(void),
        }
 
        if (count != expect * evlist->core.nr_entries) {
-               pr_debug("BPF filter result incorrect, expected %d, got %d samples\n", expect, count);
+               pr_debug("BPF filter result incorrect, expected %d, got %d samples\n", expect * evlist->core.nr_entries, count);
                goto out_delete_evlist;
        }