Home
last modified time | relevance | path

Searched refs:bpftool (Results 1 – 25 of 54) sorted by relevance

123

/linux/tools/bpf/bpftool/Documentation/
A Dbpftool-map.rst4 bpftool-map
45 | **bpftool** **map help**
89 bpftool map dump *MAP*
136 bpftool map peek *MAP*
142 bpftool map pop *MAP*
148 bpftool map dequeue *MAP*
151 bpftool map freeze *MAP*
158 bpftool map help
174 **# bpftool map show**
196 **# bpftool map dump id 10**
[all …]
A Dbpftool-net.rst4 bpftool-net
17 **bpftool** [*OPTIONS*] **net** *COMMAND*
29 | **bpftool** **net help**
81 bpftool net help
91 | **# bpftool net**
106 | **# bpftool -jp net**
158 | **# bpftool net**
168 | **# bpftool net**
178 | **# bpftool net**
186 | **# bpftool net**
[all …]
A Dbpftool-struct_ops.rst4 bpftool-struct_ops
17 **bpftool** [*OPTIONS*] **struct_ops** *COMMAND*
28 | **bpftool** **struct_ops dump** [*STRUCT_OPS_MAP*]
31 | **bpftool** **struct_ops help**
48 bpftool struct_ops dump [*STRUCT_OPS_MAP*]
54 bpftool struct_ops register *OBJ* [*LINK_DIR*]
62 bpftool struct_ops unregister *STRUCT_OPS_MAP*
65 bpftool struct_ops help
74 **# bpftool struct_ops show**
81 **# bpftool struct_ops unregister id 105**
[all …]
A Dbpftool-link.rst4 bpftool-link
17 **bpftool** [*OPTIONS*] **link** *COMMAND*
27 | **bpftool** **link pin** *LINK* *FILE*
28 | **bpftool** **link detach** *LINK*
29 | **bpftool** **link help**
36 bpftool link { show | list } [*LINK*]
48 bpftool link pin *LINK* *FILE*
54 bpftool link detach *LINK*
60 bpftool link help
76 **# bpftool link show**
[all …]
A Dbpftool-prog.rst4 bpftool-prog
17 **bpftool** [*OPTIONS*] **prog** *COMMAND*
33 | **bpftool** **prog pin** *PROG* *FILE*
37 | **bpftool** **prog tracelog**
40 | **bpftool** **prog help**
70 bpftool prog { show | list } [*PROG*]
124 bpftool prog pin *PROG* *FILE*
169 bpftool prog tracelog
209 bpftool prog help
240 **# bpftool prog show**
[all …]
A Dbpftool-feature.rst4 bpftool-feature
17 **bpftool** [*OPTIONS*] **feature** *COMMAND*
27 | **bpftool** **feature list_builtins** *GROUP*
28 | **bpftool** **feature help**
35 bpftool feature probe [kernel] [full] [macros [prefix *PREFIX*]]
54 When the **unprivileged** keyword is used, bpftool will dump only the
60 unavailable if bpftool was compiled without libcap.
62 bpftool feature probe dev *NAME* [full] [macros [prefix *PREFIX*]]
69 bpftool feature list_builtins *GROUP*
70 List items known to bpftool. These can be BPF program types
[all …]
A Dbpftool-btf.rst4 bpftool-btf
17 **bpftool** [*OPTIONS*] **btf** *COMMAND*
28 | **bpftool** **btf help**
37 bpftool btf { show | list } [id *BTF_ID*]
46 bpftool btf dump *BTF_SRC*
70 bpftool btf help
92 **# bpftool btf dump id 1226**
147 **$ bpftool btf dump file prog.o**
206 **# bpftool btf dump map id 123 kv**
225 **# bpftool btf dump map id 123**
[all …]
A Dbpftool-cgroup.rst4 bpftool-cgroup
17 **bpftool** [*OPTIONS*] **cgroup** *COMMAND*
28 | **bpftool** **cgroup tree** [*CGROUP_ROOT*] [**effective**]
30 | **bpftool** **cgroup detach** *CGROUP* *ATTACH_TYPE* *PROG*
31 | **bpftool** **cgroup help**
52 bpftool cgroup { show | list } *CGROUP* [effective]
62 bpftool cgroup tree [*CGROUP_ROOT*] [effective]
124 bpftool cgroup detach *CGROUP* *ATTACH_TYPE* *PROG*
127 bpftool prog help
145 **# bpftool cgroup list /sys/fs/cgroup/test.slice/**
[all …]
A Dbpftool-perf.rst4 bpftool-perf
17 **bpftool** [*OPTIONS*] **perf** *COMMAND*
27 | **bpftool** **perf** { **show** | **list** }
28 | **bpftool** **perf help**
32 bpftool perf { show | list }
42 bpftool perf help
52 | **# bpftool perf**
62 | **# bpftool -j perf**
A Dcommon_options.rst4 Print short help message (similar to **bpftool help**).
7 Print bpftool's version number (similar to **bpftool version**), the number
9 bpftool was compiled. Optional features include linking against LLVM or
10 libbfd to provide the disassembler for JIT-ted programs (**bpftool prog
11 dump jited**) and usage of BPF skeletons (some features like **bpftool prog
A Dbpftool-iter.rst4 bpftool-iter
17 **bpftool** [*OPTIONS*] **iter** *COMMAND*
26 | **bpftool** **iter pin** *OBJ* *PATH* [**map** *MAP*]
27 | **bpftool** **iter help**
34 bpftool iter pin *OBJ* *PATH* [map *MAP*]
51 bpftool iter help
60 **# bpftool iter pin bpf_iter_netlink.o /sys/fs/bpf/my_netlink**
67 **# bpftool iter pin bpf_iter_hashmap.o /sys/fs/bpf/my_hashmap map id 20**
A Dbpftool.rst17 **bpftool** [*OPTIONS*] *OBJECT* { *COMMAND* | **help** }
19 **bpftool** **batch file** *FILE*
21 **bpftool** **version**
55 *bpftool* allows for inspection and simple modification of BPF objects on the
A Dbpftool-gen.rst4 bpftool-gen
17 **bpftool** [*OPTIONS*] **gen** *COMMAND*
27 | **bpftool** **gen skeleton** *FILE* [**name** *OBJECT_NAME*]
30 | **bpftool** **gen help**
34 bpftool gen object *OUTPUT_FILE* *INPUT_FILE* [*INPUT_FILE*...]
51 bpftool gen skeleton *FILE*
135 bpftool gen subskeleton *FILE*
177 bpftool gen help
408 **$ bpftool btf dump file 5.4.0-example.btf format raw**
423 **$ bpftool btf dump file one.bpf.o format raw**
[all …]
/linux/tools/testing/selftests/bpf/
A Dtest_bpftool_metadata.sh48 if ! bpftool version > /dev/null 2>&1; then
61 bpftool prog load $BPF_FILE_UNUSED $BPF_DIR/unused
67 bpftool prog --json | grep '"metadata":{"a":"foo","b":1}' > /dev/null
69 bpftool map | grep 'metadata.rodata' > /dev/null
73 bpftool prog load $BPF_FILE_USED $BPF_DIR/used
79 bpftool prog --json | grep '"metadata":{"a":"bar","b":2}' > /dev/null
81 bpftool map | grep 'metadata.rodata' > /dev/null
A Dtest_bpftool_build.sh23 if [ ! -e tools/bpf/bpftool/Makefile ]; then
45 find $dir -type f -executable -name bpftool -print -exec false {} + && \
113 make_and_clean -C tools/bpf/bpftool
115 make_with_tmpdir -C tools/bpf/bpftool OUTPUT
117 make_with_tmpdir -C tools/bpf/bpftool O
145 cd bpf/bpftool
A Dtest_flow_dissector.sh24 if bpftool="$(which bpftool)"; then
27 $bpftool prog loadall $BPF_FILE /sys/fs/bpf/flow \
30 if ! unshare --net $bpftool prog attach pinned \
36 $bpftool prog attach pinned /sys/fs/bpf/flow/_dissect \
39 if unshare --net $bpftool prog attach pinned \
45 if ! $bpftool prog detach pinned \
/linux/tools/bpf/bpftool/
A DMakefile99 FEATURE_USER = .bpftool
142 all: $(OUTPUT)bpftool
185 BPFTOOL_BOOTSTRAP := $(BOOTSTRAP_OUTPUT)bpftool
242 $(OUTPUT)bpftool: $(OBJS) $(LIBBPF)
256 $(call QUIET_CLEAN, bpftool)
261 $(Q)$(RM) -- $(OUTPUT)FEATURE-DUMP.bpftool
264 install-bin: $(OUTPUT)bpftool
265 $(call QUIET_INSTALL, bpftool)
267 $(Q)$(INSTALL) $(OUTPUT)bpftool $(DESTDIR)$(prefix)/sbin/bpftool
274 $(call QUIET_UNINST, bpftool)
[all …]
A D.gitignore4 /bpftool
5 bpftool*.8
6 FEATURE-DUMP.bpftool
/linux/samples/bpf/
A Dtcp_bpf.readme14 bpftool prog load tcp_basertt_kern.o /sys/fs/bpf/tcp_prog
15 bpftool cgroup attach /tmp/cgroupv2/foo sock_ops pinned /sys/fs/bpf/tcp_prog
16 bpftool prog tracelog
18 "bpftool prog tracelog" will continue to run printing the BPF log buffer.
28 bpftool cgroup detach /tmp/cgroupv2/foo sock_ops pinned /sys/fs/bpf/tcp_prog
/linux/tools/bpf/
A DMakefile79 all: $(PROGS) bpftool runqslower
112 bpftool: target
113 $(call descend,bpftool)
116 $(call descend,bpftool,install)
119 $(call descend,bpftool,clean)
133 .PHONY: all install clean bpftool bpftool_install bpftool_clean \
/linux/tools/testing/selftests/net/
A Dbpf_offload.py192 _, maps = bpftool("map show", JSON=True, ns=ns, fail=True)
538 bpftool("prog pin id %d %s" % (prog["id"], file_name))
546 bpftool("map pin id %d %s" % (m["id"], file_name))
703 ret, progs = bpftool("prog", fail=False)
706 _, base_maps = bpftool("map")
1150 bpftool("map update id %d key %s value %s" %
1185 _, entries = bpftool("map dump id %d" % (m["id"]))
1194 _, entry = bpftool("map getnext id %d" % (m["id"]))
1197 _, entry = bpftool("map getnext id %d key %s" %
1201 ret, err = bpftool("map getnext id %d key %s" %
[all …]
/linux/kernel/bpf/preload/iterators/
A DMakefile10 BPFTOOL_SRC := $(TOOLS_PATH)/bpf/bpftool
11 BPFTOOL_OUTPUT := $(abs_out)/bpftool
12 DEFAULT_BPFTOOL := $(BPFTOOL_OUTPUT)/bootstrap/bpftool
/linux/tools/testing/selftests/hid/
A DMakefile69 BPFTOOLDIR := $(TOOLSDIR)/bpf/bpftool
104 $(HOST_BUILD_DIR)/bpftool $(HOST_BUILD_DIR)/resolve_btfids \
117 DEFAULT_BPFTOOL := $(HOST_SCRATCH_DIR)/sbin/bpftool
125 $(HOST_BPFOBJ) | $(HOST_BUILD_DIR)/bpftool
129 OUTPUT=$(HOST_BUILD_DIR)/bpftool/ \
243 EXTRA_CLEAN := $(SCRATCH_DIR) $(HOST_SCRATCH_DIR) feature bpftool \
/linux/drivers/hid/bpf/progs/
A DMakefile10 BPFTOOL_SRC := $(TOOLS_PATH)/bpf/bpftool
11 BPFTOOL_OUTPUT := $(abs_out)/bpftool
12 DEFAULT_BPFTOOL := $(BPFTOOL_OUTPUT)/bootstrap/bpftool
/linux/tools/bpf/runqslower/
A DMakefile6 BPFTOOL_OUTPUT := $(OUTPUT)bpftool/
7 DEFAULT_BPFTOOL := $(BPFTOOL_OUTPUT)bootstrap/bpftool
93 $(Q)$(MAKE) $(submake_extras) -C ../bpftool OUTPUT=$(BPFTOOL_OUTPUT) bootstrap

Completed in 38 milliseconds

123