Lines Matching defs:skel
9 #include "task_kfunc_failure.skel.h"
10 #include "task_kfunc_success.skel.h"
14 struct task_kfunc_success *skel;
17 skel = task_kfunc_success__open();
18 if (!ASSERT_OK_PTR(skel, "skel_open"))
21 skel->bss->pid = getpid();
23 err = task_kfunc_success__load(skel);
27 return skel;
30 task_kfunc_success__destroy(skel);
36 struct task_kfunc_success *skel;
42 skel = open_load_task_kfunc_skel();
43 if (!ASSERT_OK_PTR(skel, "open_load_skel"))
46 if (!ASSERT_OK(skel->bss->err, "pre_spawn_err"))
49 prog = bpf_object__find_program_by_name(skel->obj, prog_name);
64 ASSERT_OK(skel->bss->err, "post_wait_err");
68 task_kfunc_success__destroy(skel);