Home
last modified time | relevance | path

Searched refs:fexit_skel (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dfexit_test.c8 struct fexit_test *fexit_skel = NULL; in test_fexit_test() local
13 fexit_skel = fexit_test__open_and_load(); in test_fexit_test()
14 if (CHECK(!fexit_skel, "fexit_skel_load", "fexit skeleton failed\n")) in test_fexit_test()
17 err = fexit_test__attach(fexit_skel); in test_fexit_test()
21 prog_fd = bpf_program__fd(fexit_skel->progs.test1); in test_fexit_test()
28 result = (__u64 *)fexit_skel->bss; in test_fexit_test()
36 fexit_test__destroy(fexit_skel); in test_fexit_test()
Dfentry_fexit.c10 struct fexit_test *fexit_skel = NULL; in test_fentry_fexit() local
18 fexit_skel = fexit_test__open_and_load(); in test_fentry_fexit()
19 if (CHECK(!fexit_skel, "fexit_skel_load", "fexit skeleton failed\n")) in test_fentry_fexit()
25 err = fexit_test__attach(fexit_skel); in test_fentry_fexit()
29 prog_fd = bpf_program__fd(fexit_skel->progs.test1); in test_fentry_fexit()
37 fexit_res = (__u64 *)fexit_skel->bss; in test_fentry_fexit()
48 fexit_test__destroy(fexit_skel); in test_fentry_fexit()