Searched refs:ftrace_skel (Results 1 – 1 of 1) sorted by relevance
45 struct test_xdp_bpf2bpf *ftrace_skel, in run_xdp_bpf2bpf_pkt_size() argument95 ASSERT_EQ(ftrace_skel->bss->test_result_fentry, if_nametoindex("lo"), in run_xdp_bpf2bpf_pkt_size()97 ASSERT_EQ(ftrace_skel->bss->test_result_fexit, XDP_PASS, "fexit result"); in run_xdp_bpf2bpf_pkt_size()109 struct test_xdp_bpf2bpf *ftrace_skel = NULL; in test_xdp_bpf2bpf() local125 ftrace_skel = test_xdp_bpf2bpf__open(); in test_xdp_bpf2bpf()126 if (!ASSERT_OK_PTR(ftrace_skel, "test_xdp_bpf2bpf__open")) in test_xdp_bpf2bpf()132 prog = ftrace_skel->progs.trace_on_entry; in test_xdp_bpf2bpf()136 prog = ftrace_skel->progs.trace_on_exit; in test_xdp_bpf2bpf()140 err = test_xdp_bpf2bpf__load(ftrace_skel); in test_xdp_bpf2bpf()144 err = test_xdp_bpf2bpf__attach(ftrace_skel); in test_xdp_bpf2bpf()[all …]