Lines Matching refs:bpf
11 BPFDIR := $(LIBDIR)/bpf
13 BPFTOOLDIR := $(TOOLSDIR)/bpf/bpftool
27 BPF_GCC ?= $(shell command -v bpf-gcc;)
42 ifneq ($(shell $(CLANG) --target=bpf -mcpu=help 2>&1 | grep 'v4'),)
66 TEST_GEN_FILES = test_lwt_ip_encap.bpf.o test_tc_edt.bpf.o
236 $(Q)$(MAKE) $(submake_extras) -C $(TOOLSDIR)/bpf/runqslower \
310 $(APIDIR)/linux/bpf.h \
319 $(APIDIR)/linux/bpf.h \
338 $(TOOLSDIR)/bpf/resolve_btfids/main.c \
344 $(Q)$(MAKE) $(submake_extras) -C $(TOOLSDIR)/bpf/resolve_btfids \
391 $(Q)$(CLANG) $3 -O2 --target=bpf -c $1 -mcpu=v3 -o $2
396 $(Q)$(CLANG) $3 -O2 --target=bpf -c $1 -mcpu=v2 -o $2
401 $(Q)$(CLANG) $3 -O2 --target=bpf -c $1 -mcpu=v4 -o $2
426 test_static_linked.skel.h-deps := test_static_linked1.bpf.o test_static_linked2.bpf.o
427 linked_funcs.skel.h-deps := linked_funcs1.bpf.o linked_funcs2.bpf.o
428 linked_vars.skel.h-deps := linked_vars1.bpf.o linked_vars2.bpf.o
429 linked_maps.skel.h-deps := linked_maps1.bpf.o linked_maps2.bpf.o
432 …_subskeleton.skel.h-deps := test_subskeleton_lib2.bpf.o test_subskeleton_lib.bpf.o test_subskeleto…
433 test_subskeleton_lib.skel.h-deps := test_subskeleton_lib2.bpf.o test_subskeleton_lib.bpf.o
434 test_usdt.skel.h-deps := test_usdt.bpf.o test_usdt_multispec.bpf.o
435 xsk_xdp_progs.skel.h-deps := xsk_xdp_progs.bpf.o
436 xdp_hw_metadata.skel.h-deps := xdp_hw_metadata.bpf.o
437 xdp_features.skel.h-deps := xdp_features.bpf.o
439 LINKED_BPF_SRCS := $(patsubst %.bpf.o,%.c,$(foreach skel,$(LINKED_SKELS),$($(skel)-deps)))
457 TRUNNER_BPF_OBJS := $$(patsubst %.c,$$(TRUNNER_OUTPUT)/%.bpf.o, $$(TRUNNER_BPF_SRCS))
487 $(TRUNNER_BPF_OBJS): $(TRUNNER_OUTPUT)/%.bpf.o: \
492 $(wildcard $(BPFDIR)/*.bpf.h) \
497 $(TRUNNER_BPF_SKELS): %.skel.h: %.bpf.o $(BPFTOOL) | $(TRUNNER_OUTPUT)
503 $(Q)$$(BPFTOOL) gen skeleton $$(<:.o=.linked3.o) name $$(notdir $$(<:.bpf.o=)) > $$@
504 …$(Q)$$(BPFTOOL) gen subskeleton $$(<:.o=.linked3.o) name $$(notdir $$(<:.bpf.o=)) > $$(@:.skel.h=.…
506 $(TRUNNER_BPF_LSKELS): %.lskel.h: %.bpf.o $(BPFTOOL) | $(TRUNNER_OUTPUT)
512 $(Q)$$(BPFTOOL) gen skeleton -L $$(<:.o=.llinked3.o) name $$(notdir $$(<:.bpf.o=_lskel)) > $$@
515 $$(call msg,LINK-BPF,$(TRUNNER_BINARY),$$(@:.skel.h=.bpf.o))
572 $(Q)$(RESOLVE_BTFIDS) --btf $(TRUNNER_OUTPUT)/btf_data.bpf.o $$@
595 $(wildcard progs/*.bpf.o)
726 rsync -a $(OUTPUT)/$$DIR/*.bpf.o $(INSTALL_PATH)/$$DIR;\