Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/
Dtest_xdp_veth.sh101 xdp_redirect_map.o $BPF_DIR/progs type xdp \
106 ip link set dev veth1 xdp pinned $BPF_DIR/progs/redirect_map_0
107 ip link set dev veth2 xdp pinned $BPF_DIR/progs/redirect_map_1
108 ip link set dev veth3 xdp pinned $BPF_DIR/progs/redirect_map_2
Dtest_offload.py173 _, progs = bpftool("prog show", JSON=True, ns=ns, fail=True)
176 if p in progs:
177 progs.remove(p)
179 if len(progs) != expected:
181 (len(progs), expected))
182 return progs
394 _, progs = cmd('ls %s' % (path))
395 return len(progs.split())
398 progs = DebugfsDir(os.path.join(self.dfs_dir, "bpf_bound_progs"))
400 if len(progs) != expected:
[all …]
DMakefile34 BPF_OBJ_FILES = $(patsubst %.c,%.o, $(notdir $(wildcard progs/*.c)))
37 BTF_C_FILES = $(wildcard progs/btf_dump_test_case_*.c)
211 $(ALU32_BUILD_DIR)/%.o: progs/%.c $(ALU32_BUILD_DIR)/test_progs_32 \
244 $(BPF_GCC_BUILD_DIR)/%.o: progs/%.c $(BPF_GCC_BUILD_DIR)/test_progs_bpf_gcc \
251 $(OUTPUT)/test_xdp.o: progs/test_xdp.c
259 $(OUTPUT)/%.o: progs/%.c
/tools/bpf/
DMakefile93 $(call QUIET_CLEAN, bpf-progs)
/tools/bpf/bpftool/Documentation/
Dbpftool-cgroup.rst5 tool for inspection and simple manipulation of eBPF progs
Dbpftool-prog.rst5 tool for inspection and simple manipulation of eBPF progs
/tools/lib/bpf/
Dlibbpf.c409 struct bpf_program prog, *progs; in bpf_object__add_program() local
417 progs = obj->programs; in bpf_object__add_program()
420 progs = reallocarray(progs, nr_progs + 1, sizeof(progs[0])); in bpf_object__add_program()
421 if (!progs) { in bpf_object__add_program()
434 obj->programs = progs; in bpf_object__add_program()
437 progs[nr_progs] = prog; in bpf_object__add_program()
/tools/perf/
DMakefile.perf960 …$(call QUIET_CLEAN, core-progs) $(RM) $(ALL_PROGRAMS) perf perf-read-vdso32 perf-read-vdsox32 $(OU…