Home
last modified time | relevance | path

Searched refs:skeletons (Results 1 – 8 of 8) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_xdp_veth.c34 struct skeletons { global() struct
35 xdp_dummyskeletons global() argument
36 xdp_txskeletons global() argument
37 xdp_redirect_mapsskeletons global() argument
72 attach_programs_to_veth_pair(struct skeletons * skeletons,int index) attach_programs_to_veth_pair() argument
124 configure_network(struct skeletons * skeletons) configure_network() argument
175 check_ping(struct skeletons * skeletons) check_ping() argument
186 struct skeletons skeletons = {}; test_xdp_veth_redirect() local
H A Dxdp_bonding.c90 struct skeletons { struct
99 static int xdp_attach(struct skeletons *skeletons, struct bpf_program *prog, char *iface) in xdp_attach() argument
108 if (!ASSERT_LE(skeletons->nlinks+1, MAX_BPF_LINKS, "too many XDP programs attached")) in xdp_attach()
115 skeletons->links[skeletons->nlinks++] = link; in xdp_attach()
142 static int bonding_setup(struct skeletons *skeletons, int mode, int xmit_policy, in bonding_setup() argument
162 if (xdp_attach(skeletons, skeletons->xdp_dummy->progs.xdp_dummy_prog, "veth1_2")) in bonding_setup()
176 if (xdp_attach(skeletons, skeletons->xdp_dummy->progs.xdp_dummy_prog, "bond1")) in bonding_setup()
183 if (xdp_attach(skeletons, skeletons->xdp_tx->progs.xdp_tx, "bond2")) in bonding_setup()
194 static void link_cleanup(struct skeletons *skeletons) in link_cleanup() argument
196 while (skeletons->nlinks) { in link_cleanup()
[all …]
/linux/tools/tracing/rtla/
H A DMakefile.config73 # BPF skeletons are used to implement improved sample collection, enable
100 $(call feature_check,bpftool-skeletons)
101 ifeq ($(feature-bpftool-skeletons), 1)
104 $(info bpftool is missing or not supporting skeletons, building without BPF skeleton support.)
H A DMakefile66 FEATURE_TESTS += bpftool-skeletons
73 FEATURE_DISPLAY += bpftool-skeletons
/linux/tools/perf/
H A DMakefile.config647 $(warning Warning: Disabled BPF skeletons as libelf is required by bpftool)
650 $(warning Warning: Disabled BPF skeletons as zlib is required by bpftool)
653 $(warning Warning: Disabled BPF skeletons as libbpf is required)
656 $(warning Warning: Disabled BPF skeletons as libopenssl is required)
659 $(warning Warning: Disabled BPF skeletons as clang ($(CLANG)) is missing)
664 …$(warning Warning: Disabled BPF skeletons as reliable BTF generation needs at least $(CLANG) versi…
671 $(warning Warning: Disabled BPF skeletons as clang is too old)
/linux/tools/bpf/bpftool/Documentation/
H A Dcommon_options.rst11 dump jited**) and usage of BPF skeletons (some features like **bpftool prog
/linux/tools/build/
H A DMakefile.feature131 bpftool-skeletons \
/linux/tools/build/feature/
H A DMakefile74 test-bpftool-skeletons.bin
382 $(OUTPUT)test-bpftool-skeletons.bin:
383 { $(SYSTEM_BPFTOOL) version | grep '^features:.*skeletons'; } \