Lines Matching refs:CHECK
28 if (CHECK(!skel, "skel_open", "failed to open skeleton\n")) in test_skeleton()
31 if (CHECK(skel->kconfig, "skel_kconfig", "kconfig is mmaped()!\n")) in test_skeleton()
44 CHECK(data->in1 != -1, "in1", "got %d != exp %d\n", data->in1, -1); in test_skeleton()
45 CHECK(data->out1 != -1, "out1", "got %d != exp %d\n", data->out1, -1); in test_skeleton()
46 CHECK(data->in2 != -1, "in2", "got %lld != exp %lld\n", data->in2, -1LL); in test_skeleton()
47 CHECK(data->out2 != -1, "out2", "got %lld != exp %lld\n", data->out2, -1LL); in test_skeleton()
49 CHECK(bss->in3 != 0, "in3", "got %d != exp %d\n", bss->in3, 0); in test_skeleton()
50 CHECK(bss->out3 != 0, "out3", "got %d != exp %d\n", bss->out3, 0); in test_skeleton()
51 CHECK(bss->in4 != 0, "in4", "got %lld != exp %lld\n", bss->in4, 0LL); in test_skeleton()
52 CHECK(bss->out4 != 0, "out4", "got %lld != exp %lld\n", bss->out4, 0LL); in test_skeleton()
54 CHECK(rodata->in.in6 != 0, "in6", "got %d != exp %d\n", rodata->in.in6, 0); in test_skeleton()
55 CHECK(bss->out6 != 0, "out6", "got %d != exp %d\n", bss->out6, 0); in test_skeleton()
75 if (CHECK(err, "skel_load", "failed to load skeleton: %d\n", err)) in test_skeleton()
79 CHECK(data->in1 != 10, "in1", "got %d != exp %d\n", data->in1, 10); in test_skeleton()
80 CHECK(data->in2 != 11, "in2", "got %lld != exp %lld\n", data->in2, 11LL); in test_skeleton()
81 CHECK(bss->in3 != 12, "in3", "got %d != exp %d\n", bss->in3, 12); in test_skeleton()
82 CHECK(bss->in4 != 13, "in4", "got %lld != exp %lld\n", bss->in4, 13LL); in test_skeleton()
83 CHECK(rodata->in.in6 != 14, "in6", "got %d != exp %d\n", rodata->in.in6, 14); in test_skeleton()
101 if (CHECK(err, "skel_attach", "skeleton attach failed: %d\n", err)) in test_skeleton()
107 CHECK(data->out1 != 1, "res1", "got %d != exp %d\n", data->out1, 1); in test_skeleton()
108 CHECK(data->out2 != 2, "res2", "got %lld != exp %d\n", data->out2, 2); in test_skeleton()
109 CHECK(bss->out3 != 3, "res3", "got %d != exp %d\n", (int)bss->out3, 3); in test_skeleton()
110 CHECK(bss->out4 != 4, "res4", "got %lld != exp %d\n", bss->out4, 4); in test_skeleton()
111 CHECK(bss->out5.a != 5, "res5", "got %d != exp %d\n", bss->out5.a, 5); in test_skeleton()
112 CHECK(bss->out5.b != 6, "res6", "got %lld != exp %d\n", bss->out5.b, 6); in test_skeleton()
113 CHECK(bss->out6 != 14, "res7", "got %d != exp %d\n", bss->out6, 14); in test_skeleton()
115 CHECK(bss->bpf_syscall != kcfg->CONFIG_BPF_SYSCALL, "ext1", in test_skeleton()
117 CHECK(bss->kern_ver != kcfg->LINUX_KERNEL_VERSION, "ext2", in test_skeleton()