Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dfexit_bpf2bpf.c463 int fentry_fd = -1; in test_fentry_to_cgroup_bpf() local
482 fentry_fd = load_fentry(bpf_program__fd(skel->progs.bind_v4_prog), btf_id); in test_fentry_to_cgroup_bpf()
483 if (!ASSERT_GE(fentry_fd, 0, "load_fentry")) in test_fentry_to_cgroup_bpf()
490 ASSERT_OK(bpf_prog_get_info_by_fd(fentry_fd, &info, &info_len), in test_fentry_to_cgroup_bpf()
500 if (fentry_fd >= 0) in test_fentry_to_cgroup_bpf()
501 close(fentry_fd); in test_fentry_to_cgroup_bpf()
H A Dbpf_cookie.c496 int fentry_fd = -1, fexit_fd = -1, fmod_ret_fd = -1; in tracing_subtest() local
506 fentry_fd = bpf_link_create(prog_fd, 0, BPF_TRACE_FENTRY, &link_opts); in tracing_subtest()
507 if (!ASSERT_GE(fentry_fd, 0, "fentry.link_create")) in tracing_subtest()
535 if (fentry_fd >= 0) in tracing_subtest()
536 close(fentry_fd); in tracing_subtest()