Searched refs:fentry_link (Results 1 – 2 of 2) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | cgroup1_hierarchy.c | 12 struct bpf_link *lsm_link, *fentry_link; in bpf_cgroup1() local 21 fentry_link = bpf_program__attach_trace(skel->progs.fentry_run); in bpf_cgroup1() 22 ASSERT_NULL(fentry_link, "fentry_attach_fail"); in bpf_cgroup1() 30 struct bpf_link *lsm_link, *fentry_link; in bpf_cgroup1_sleepable() local 39 fentry_link = bpf_program__attach_trace(skel->progs.fentry_run); in bpf_cgroup1_sleepable() 40 ASSERT_NULL(fentry_link, "fentry_attach_fail"); in bpf_cgroup1_sleepable() 48 struct bpf_link *lsm_link, *fentry_link; in bpf_cgroup1_invalid_id() local 57 fentry_link = bpf_program__attach_trace(skel->progs.fentry_run); in bpf_cgroup1_invalid_id() 58 if (!ASSERT_OK_PTR(fentry_link, "fentry_attach_success")) in bpf_cgroup1_invalid_id() 61 err = bpf_link__destroy(fentry_link); in bpf_cgroup1_invalid_id()
|
H A D | tailcalls.c | 232 struct bpf_link *fentry_link = NULL, *fexit_link = NULL; in test_tailcall_count() local 296 fentry_link = bpf_program__attach_trace(prog); in test_tailcall_count() 297 if (!ASSERT_OK_PTR(fentry_link, "attach_trace")) in test_tailcall_count() 385 bpf_link__destroy(fentry_link); in test_tailcall_count() 1018 struct bpf_link *fentry_link = NULL; in test_tailcall_bpf2bpf_fentry_entry() local 1072 fentry_link = bpf_program__attach_trace(prog); in test_tailcall_bpf2bpf_fentry_entry() 1073 if (!ASSERT_OK_PTR(fentry_link, "attach_trace")) in test_tailcall_bpf2bpf_fentry_entry() 1110 bpf_link__destroy(fentry_link); in test_tailcall_bpf2bpf_fentry_entry() 1200 struct bpf_link *fentry_link = NULL, *fexit_link = NULL; in test_tailcall_hierarchy_count() local 1245 fentry_link = bpf_program__attach_trace(fentry_prog); in test_tailcall_hierarchy_count() [all …]
|