Lines Matching refs:CHECK
23 if (CHECK(err == -EINVAL, "kallsyms_fopen", "failed to open: %d\n", errno)) in test_basic()
25 if (CHECK(err == -ENOENT, "ksym_find", "symbol 'runqueues' not found\n")) in test_basic()
29 if (CHECK(err == -EINVAL, "kallsyms_fopen", "failed to open: %d\n", errno)) in test_basic()
31 if (CHECK(err == -ENOENT, "ksym_find", "symbol 'bpf_prog_active' not found\n")) in test_basic()
35 if (CHECK(!skel, "skel_open", "failed to open and load skeleton\n")) in test_basic()
39 if (CHECK(err, "skel_attach", "skeleton attach failed: %d\n", err)) in test_basic()
46 CHECK(data->out__runqueues_addr != runqueues_addr, "runqueues_addr", in test_basic()
50 CHECK(data->out__bpf_prog_active_addr != bpf_prog_active_addr, "bpf_prog_active_addr", in test_basic()
55 CHECK(data->out__rq_cpu == -1, "rq_cpu", in test_basic()
57 CHECK(data->out__bpf_prog_active < 0, "bpf_prog_active", in test_basic()
59 CHECK(data->out__cpu_0_rq_cpu != 0, "cpu_rq(0)->cpu", in test_basic()
63 CHECK(this_rq_cpu != data->out__rq_cpu, "this_rq_cpu", in test_basic()
67 CHECK(this_bpf_prog_active != data->out__bpf_prog_active, "this_bpf_prog_active", in test_basic()
80 CHECK(skel, "skel_open", "unexpected load of a prog missing null check\n"); in test_null_check()
92 if (CHECK(!skel, "test_ksyms_weak__open_and_load", "failed\n")) in test_weak_syms()
96 if (CHECK(err, "test_ksyms_weak__attach", "skeleton attach failed: %d\n", err)) in test_weak_syms()