Lines Matching refs:sample_count
32 static int count_samples(struct evlist *evlist, int *sample_count,
47 (*sample_count)++;
63 int *sample_count, int *comm_count)
79 err = count_samples(evlist, sample_count, comm_count);
87 int ret = TEST_SKIP, err, sample_count = 0, comm_count = 0;
140 err = do_test(evlist, opts.mmap_pages, &sample_count,
145 if ((sample_count != NR_ITERS) || (comm_count != NR_ITERS)) {
146 pr_err("Unexpected counter: sample_count=%d, comm_count=%d\n",
147 sample_count, comm_count);
160 err = do_test(evlist, 1, &sample_count, &comm_count);