Searched refs:fentry_fd (Results 1 – 2 of 2) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | fexit_bpf2bpf.c | 485 int fentry_fd = -1; in test_fentry_to_cgroup_bpf() local 504 fentry_fd = load_fentry(bpf_program__fd(skel->progs.bind_v4_prog), btf_id); in test_fentry_to_cgroup_bpf() 505 if (!ASSERT_GE(fentry_fd, 0, "load_fentry")) in test_fentry_to_cgroup_bpf() 512 ASSERT_OK(bpf_prog_get_info_by_fd(fentry_fd, &info, &info_len), in test_fentry_to_cgroup_bpf() 522 if (fentry_fd >= 0) in test_fentry_to_cgroup_bpf() 523 close(fentry_fd); in test_fentry_to_cgroup_bpf()
|
| H A D | bpf_cookie.c | 513 int fentry_fd = -1, fexit_fd = -1, fmod_ret_fd = -1; in tracing_subtest() 523 fentry_fd = bpf_link_create(prog_fd, 0, BPF_TRACE_FENTRY, &link_opts); in tracing_subtest() 524 if (!ASSERT_GE(fentry_fd, 0, "fentry.link_create")) in tracing_subtest() 527 err = verify_tracing_link_info(fentry_fd, cookie); in tracing_subtest() 556 if (fentry_fd >= 0) in tracing_subtest() 557 close(fentry_fd); in tracing_subtest() 514 int fentry_fd = -1, fexit_fd = -1, fmod_ret_fd = -1; tracing_subtest() local
|