Lines Matching refs:skel
11 struct test_autoload* skel; in test_autoload() local
13 skel = test_autoload__open_and_load(); in test_autoload()
15 if (CHECK(skel, "skel_open_and_load", "unexpected success\n")) in test_autoload()
18 skel = test_autoload__open(); in test_autoload()
19 if (CHECK(!skel, "skel_open", "failed to open skeleton\n")) in test_autoload()
23 bpf_program__set_autoload(skel->progs.prog3, false); in test_autoload()
25 err = test_autoload__load(skel); in test_autoload()
29 err = test_autoload__attach(skel); in test_autoload()
35 CHECK(!skel->bss->prog1_called, "prog1", "not called\n"); in test_autoload()
36 CHECK(!skel->bss->prog2_called, "prog2", "not called\n"); in test_autoload()
37 CHECK(skel->bss->prog3_called, "prog3", "called?!\n"); in test_autoload()
40 test_autoload__destroy(skel); in test_autoload()