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;
141 err = do_test(evlist, opts.mmap_pages, &sample_count,
146 if ((sample_count != NR_ITERS) || (comm_count != NR_ITERS)) {
147 pr_err("Unexpected counter: sample_count=%d, comm_count=%d\n",
148 sample_count, comm_count);
161 err = do_test(evlist, 1, &sample_count, &comm_count);