Lines Matching refs:CHECK
24 if (CHECK(pipe(pipe_c2p), test_name, in test_send_signal_common()
28 if (CHECK(pipe(pipe_p2c), test_name, in test_send_signal_common()
36 if (CHECK(pid < 0, test_name, "fork error: %s\n", strerror(errno))) { in test_send_signal_common()
77 if (CHECK(err < 0, test_name, "bpf_prog_load error: %s\n", in test_send_signal_common()
83 if (CHECK(pmu_fd < 0, test_name, "perf_event_open error: %s\n", in test_send_signal_common()
90 if (CHECK(err < 0, test_name, "ioctl perf_event_ioc_enable error: %s\n", in test_send_signal_common()
95 if (CHECK(err < 0, test_name, "ioctl perf_event_ioc_set_bpf error: %s\n", in test_send_signal_common()
101 if (CHECK(info_map_fd < 0, test_name, "find map %s error\n", "info_map")) in test_send_signal_common()
105 if (CHECK(status_map_fd < 0, test_name, "find map %s error\n", "status_map")) in test_send_signal_common()
121 if (CHECK(err < 0, test_name, "reading pipe error: %s\n", strerror(errno))) in test_send_signal_common()
123 if (CHECK(err == 0, test_name, "reading pipe error: size 0\n")) { in test_send_signal_common()
128 CHECK(buf[0] != '2', test_name, "incorrect result\n"); in test_send_signal_common()
157 if (CHECK(efd < 0, "tracepoint", in test_send_signal_tracepoint()
164 if (CHECK(bytes <= 0 || bytes >= sizeof(buf), "tracepoint", in test_send_signal_tracepoint()