Lines Matching refs:CHECK
23 CHECK(cpu_data != cpu, "check_cpu_data", in on_sample()
38 if (err && CHECK(err, "set_affinity", "cpu #%d, err %d\n", cpu, err)) in trigger_on_cpu()
58 if (CHECK(nr_cpus < 0, "nr_cpus", "err %d\n", nr_cpus)) in serial_test_perf_buffer()
63 if (CHECK(err, "nr_on_cpus", "err %d\n", err)) in serial_test_perf_buffer()
72 if (CHECK(!skel, "skel_load", "skeleton open/load failed\n")) in serial_test_perf_buffer()
81 if (CHECK(err, "attach_kprobe", "err %d\n", err)) in serial_test_perf_buffer()
91 CHECK(perf_buffer__epoll_fd(pb) < 0, "epoll_fd", in serial_test_perf_buffer()
108 if (CHECK(err < 0, "perf_buffer__poll", "err %d\n", err)) in serial_test_perf_buffer()
111 if (CHECK(CPU_COUNT(&cpu_seen) != nr_on_cpus, "seen_cpu_cnt", in serial_test_perf_buffer()
115 if (CHECK(perf_buffer__buffer_cnt(pb) != nr_on_cpus, "buf_cnt", in serial_test_perf_buffer()
124 CHECK(fd < 0 || last_fd == fd, "fd_check", "last fd %d == fd %d\n", last_fd, fd); in serial_test_perf_buffer()
128 if (CHECK(err, "drain_buf", "cpu %d, err %d\n", i, err)) in serial_test_perf_buffer()
136 if (CHECK(err, "consume_buf", "cpu %d, err %d\n", j, err)) in serial_test_perf_buffer()
139 if (CHECK(!CPU_ISSET(i, &cpu_seen), "cpu_seen", "cpu %d not seen\n", i)) in serial_test_perf_buffer()