Searched refs:ftrace_skel (Results 1 – 1 of 1) sorted by relevance
48 struct test_xdp_bpf2bpf *ftrace_skel = NULL; in test_xdp_bpf2bpf() local65 ftrace_skel = test_xdp_bpf2bpf__open(); in test_xdp_bpf2bpf()66 if (CHECK(!ftrace_skel, "__open", "ftrace skeleton failed\n")) in test_xdp_bpf2bpf()72 prog = ftrace_skel->progs.trace_on_entry; in test_xdp_bpf2bpf()76 prog = ftrace_skel->progs.trace_on_exit; in test_xdp_bpf2bpf()80 err = test_xdp_bpf2bpf__load(ftrace_skel); in test_xdp_bpf2bpf()84 err = test_xdp_bpf2bpf__attach(ftrace_skel); in test_xdp_bpf2bpf()91 pb = perf_buffer__new(bpf_map__fd(ftrace_skel->maps.perf_buf_map), in test_xdp_bpf2bpf()118 ftrace_skel->bss->test_result_fentry)) in test_xdp_bpf2bpf()121 CHECK(ftrace_skel->bss->test_result_fexit != XDP_TX, "result", in test_xdp_bpf2bpf()[all …]
Completed in 5 milliseconds