Lines Matching refs:CHECK
24 if (CHECK(err == -EINVAL, "kallsyms_fopen", "failed to open: %d\n", errno)) in test_basic()
26 if (CHECK(err == -ENOENT, "ksym_find", "symbol 'runqueues' not found\n")) in test_basic()
30 if (CHECK(err == -EINVAL, "kallsyms_fopen", "failed to open: %d\n", errno)) in test_basic()
32 if (CHECK(err == -ENOENT, "ksym_find", "symbol 'bpf_prog_active' not found\n")) in test_basic()
36 if (CHECK(!skel, "skel_open", "failed to open and load skeleton\n")) in test_basic()
40 if (CHECK(err, "skel_attach", "skeleton attach failed: %d\n", err)) in test_basic()
47 CHECK(data->out__runqueues_addr != runqueues_addr, "runqueues_addr", in test_basic()
51 CHECK(data->out__bpf_prog_active_addr != bpf_prog_active_addr, "bpf_prog_active_addr", in test_basic()
56 CHECK(data->out__rq_cpu == -1, "rq_cpu", in test_basic()
58 CHECK(data->out__bpf_prog_active < 0, "bpf_prog_active", in test_basic()
60 CHECK(data->out__cpu_0_rq_cpu != 0, "cpu_rq(0)->cpu", in test_basic()
64 CHECK(this_rq_cpu != data->out__rq_cpu, "this_rq_cpu", in test_basic()
68 CHECK(this_bpf_prog_active != data->out__bpf_prog_active, "this_bpf_prog_active", in test_basic()
81 CHECK(skel, "skel_open", "unexpected load of a prog missing null check\n"); in test_null_check()