Lines Matching refs:skel
19 struct test_ksyms_btf *skel = NULL; in test_basic() local
35 skel = test_ksyms_btf__open_and_load(); in test_basic()
36 if (CHECK(!skel, "skel_open", "failed to open and load skeleton\n")) in test_basic()
39 err = test_ksyms_btf__attach(skel); in test_basic()
46 data = skel->data; in test_basic()
73 test_ksyms_btf__destroy(skel); in test_basic()
78 struct test_ksyms_btf_null_check *skel; in test_null_check() local
80 skel = test_ksyms_btf_null_check__open_and_load(); in test_null_check()
81 CHECK(skel, "skel_open", "unexpected load of a prog missing null check\n"); in test_null_check()
83 test_ksyms_btf_null_check__destroy(skel); in test_null_check()
88 struct test_ksyms_weak *skel; in test_weak_syms() local
92 skel = test_ksyms_weak__open_and_load(); in test_weak_syms()
93 if (!ASSERT_OK_PTR(skel, "test_ksyms_weak__open_and_load")) in test_weak_syms()
96 err = test_ksyms_weak__attach(skel); in test_weak_syms()
103 data = skel->data; in test_weak_syms()
110 test_ksyms_weak__destroy(skel); in test_weak_syms()
115 struct test_ksyms_weak_lskel *skel; in test_weak_syms_lskel() local
119 skel = test_ksyms_weak_lskel__open_and_load(); in test_weak_syms_lskel()
120 if (!ASSERT_OK_PTR(skel, "test_ksyms_weak_lskel__open_and_load")) in test_weak_syms_lskel()
123 err = test_ksyms_weak_lskel__attach(skel); in test_weak_syms_lskel()
130 data = skel->data; in test_weak_syms_lskel()
137 test_ksyms_weak_lskel__destroy(skel); in test_weak_syms_lskel()