Searched refs:fexit_skel (Results 1 – 3 of 3) sorted by relevance
7 static int fexit_test_common(struct fexit_test_lskel *fexit_skel) in fexit_test_common() argument14 err = fexit_test_lskel__attach(fexit_skel); in fexit_test_common()19 link_fd = fexit_test_lskel__test1__attach(fexit_skel); in fexit_test_common()23 prog_fd = fexit_skel->progs.test1.prog_fd; in fexit_test_common()28 result = (__u64 *)fexit_skel->bss; in fexit_test_common()29 for (i = 0; i < sizeof(*fexit_skel->bss) / sizeof(__u64); i++) { in fexit_test_common()34 fexit_test_lskel__detach(fexit_skel); in fexit_test_common()37 memset(fexit_skel->bss, 0, sizeof(*fexit_skel->bss)); in fexit_test_common()43 struct fexit_test_lskel *fexit_skel = NULL; in fexit_test() local46 fexit_skel = fexit_test_lskel__open_and_load(); in fexit_test()[all …]
13 struct fexit_sleep_lskel *fexit_skel = skel; in do_sleep() local17 fexit_skel->bss->pid = getpid(); in do_sleep()27 struct fexit_sleep_lskel *fexit_skel = NULL; in test_fexit_sleep() local33 fexit_skel = fexit_sleep_lskel__open_and_load(); in test_fexit_sleep()34 if (CHECK(!fexit_skel, "fexit_skel_load", "fexit skeleton failed\n")) in test_fexit_sleep()37 err = fexit_sleep_lskel__attach(fexit_skel); in test_fexit_sleep()46 cpid = clone(do_sleep, child_stack + STACK_SIZE, CLONE_FILES | SIGCHLD, fexit_skel); in test_fexit_sleep()51 while (READ_ONCE(fexit_skel->bss->fentry_cnt) != 2); in test_fexit_sleep()52 fexit_cnt = READ_ONCE(fexit_skel->bss->fexit_cnt); in test_fexit_sleep()66 close(fexit_skel->progs.nanosleep_fentry.prog_fd); in test_fexit_sleep()[all …]
10 struct fexit_test_lskel *fexit_skel = NULL; in test_fentry_fexit() local18 fexit_skel = fexit_test_lskel__open_and_load(); in test_fentry_fexit()19 if (!ASSERT_OK_PTR(fexit_skel, "fexit_skel_load")) in test_fentry_fexit()25 err = fexit_test_lskel__attach(fexit_skel); in test_fentry_fexit()29 prog_fd = fexit_skel->progs.test1.prog_fd; in test_fentry_fexit()35 fexit_res = (__u64 *)fexit_skel->bss; in test_fentry_fexit()44 fexit_test_lskel__destroy(fexit_skel); in test_fentry_fexit()