Home
last modified time | relevance | path

Searched refs:cpu_seen (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dperf_buffer.c20 cpu_set_t *cpu_seen = ctx; in on_sample() local
26 CPU_SET(cpu, cpu_seen); in on_sample()
51 cpu_set_t cpu_seen; in serial_test_perf_buffer() local
85 on_sample, NULL, &cpu_seen, NULL); in serial_test_perf_buffer()
93 CPU_ZERO(&cpu_seen); in serial_test_perf_buffer()
109 if (CHECK(CPU_COUNT(&cpu_seen) != nr_on_cpus, "seen_cpu_cnt", in serial_test_perf_buffer()
110 "expect %d, seen %d\n", nr_on_cpus, CPU_COUNT(&cpu_seen))) in serial_test_perf_buffer()
129 CPU_CLR(i, &cpu_seen); in serial_test_perf_buffer()
137 if (CHECK(!CPU_ISSET(i, &cpu_seen), "cpu_seen", "cpu %d not seen\n", i)) in serial_test_perf_buffer()