Searched refs:bpftool (Results 1 – 25 of 40) sorted by relevance
12
/linux/tools/bpf/bpftool/Documentation/ |
A D | bpftool-map.rst | 2 bpftool-map 42 | **bpftool** **map help** 89 **bpftool map dump** *MAP* 138 **bpftool map peek** *MAP* 144 **bpftool map pop** *MAP* 153 **bpftool map freeze** *MAP* 161 **bpftool map help** 177 **# bpftool map show** 199 **# bpftool map dump id 10** 234 | **# bpftool prog --bpffs** [all …]
|
A D | bpftool-struct_ops.rst | 2 bpftool-struct_ops 13 **bpftool** [*OPTIONS*] **struct_ops** *COMMAND* 24 | **bpftool** **struct_ops dump** [*STRUCT_OPS_MAP*] 25 | **bpftool** **struct_ops register** *OBJ* 27 | **bpftool** **struct_ops help** 44 **bpftool struct_ops dump** [*STRUCT_OPS_MAP*] 50 **bpftool struct_ops register** *OBJ* 58 **bpftool struct_ops help** 67 **# bpftool struct_ops show** 74 **# bpftool struct_ops unregister id 105** [all …]
|
A D | bpftool-net.rst | 2 bpftool-net 13 **bpftool** [*OPTIONS*] **net** *COMMAND* 26 | **bpftool** **net help** 33 **bpftool net { show | list }** [ **dev** *NAME* ] 73 **bpftool net help** 83 | **# bpftool net** 98 | **# bpftool -jp net** 150 | **# bpftool net** 160 | **# bpftool net** 169 | **# bpftool net detach xdpdrv dev enp6s0np0** [all …]
|
A D | bpftool-link.rst | 2 bpftool-link 13 **bpftool** [*OPTIONS*] **link** *COMMAND* 24 | **bpftool** **link pin** *LINK* *FILE* 25 | **bpftool** **link detach** *LINK* 26 | **bpftool** **link help** 33 **bpftool link { show | list }** [*LINK*] 47 **bpftool link pin** *LINK* *FILE* 54 **bpftool link detach** *LINK* 61 **bpftool link help** 78 **# bpftool link show** [all …]
|
A D | bpftool-prog.rst | 2 bpftool-prog 13 **bpftool** [*OPTIONS*] **prog** *COMMAND* 29 | **bpftool** **prog pin** *PROG* *FILE* 33 | **bpftool** **prog tracelog** 36 | **bpftool** **prog help** 122 **bpftool prog pin** *PROG* *FILE* 164 **bpftool prog tracelog** 211 **bpftool prog help** 245 **# bpftool prog show** 350 | **# bpftool prog tracelog** [all …]
|
A D | bpftool-btf.rst | 2 bpftool-btf 13 **bpftool** [*OPTIONS*] **btf** *COMMAND* 25 | **bpftool** **btf help** 45 **bpftool btf dump** *BTF_SRC* 70 **bpftool btf help** 93 **# bpftool btf dump id 1226** 148 **$ bpftool btf dump file prog.o** 195 **# bpftool btf dump map id 123 key** 207 **# bpftool btf dump map id 123 kv** 226 **# bpftool btf dump map id 123** [all …]
|
A D | bpftool-cgroup.rst | 2 bpftool-cgroup 13 **bpftool** [*OPTIONS*] **cgroup** *COMMAND* 25 | **bpftool** **cgroup tree** [*CGROUP_ROOT*] [**effective**] 27 | **bpftool** **cgroup detach** *CGROUP* *ATTACH_TYPE* *PROG* 28 | **bpftool** **cgroup help** 50 **bpftool cgroup tree** [*CGROUP_ROOT*] [**effective**] 53 bpftool uses cgroup v2 mountpoint. 113 **bpftool cgroup detach** *CGROUP* *ATTACH_TYPE* *PROG* 117 **bpftool prog help** 135 **# bpftool cgroup list /sys/fs/cgroup/test.slice/** [all …]
|
A D | bpftool-feature.rst | 2 bpftool-feature 13 **bpftool** [*OPTIONS*] **feature** *COMMAND* 22 | **bpftool** **feature probe** [*COMPONENT*] [**full**] [**unprivileged**] [**macros** [**prefix**… 23 | **bpftool** **feature help** 29 **bpftool feature probe** [**kernel**] [**full**] [**macros** [**prefix** *PREFIX*]] 35 By default, bpftool **does not run probes** for 52 When the **unprivileged** keyword is used, bpftool will dump 58 bpftool is inadvertently run as non-root, for example. This 59 keyword is unavailable if bpftool was compiled without 62 **bpftool feature probe dev** *NAME* [**full**] [**macros** [**prefix** *PREFIX*]] [all …]
|
A D | bpftool-perf.rst | 2 bpftool-perf 13 **bpftool** [*OPTIONS*] **perf** *COMMAND* 23 | **bpftool** **perf** { **show** | **list** } 24 | **bpftool** **perf help** 28 **bpftool perf { show | list }** 38 **bpftool perf help** 48 | **# bpftool perf** 58 | **# bpftool -j perf**
|
A D | bpftool-iter.rst | 2 bpftool-iter 13 **bpftool** [*OPTIONS*] **iter** *COMMAND* 22 | **bpftool** **iter pin** *OBJ* *PATH* [**map** *MAP*] 23 | **bpftool** **iter help** 30 **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 D | common_options.rst | 2 Print short help message (similar to **bpftool help**). 5 Print version number (similar to **bpftool version**), and optional 6 features that were included when bpftool was compiled. Optional 8 for JIT-ted programs (**bpftool prog dump jited**) and usage of BPF 9 skeletons (some features like **bpftool prog profile** or showing
|
A D | bpftool.rst | 13 **bpftool** [*OPTIONS*] *OBJECT* { *COMMAND* | **help** } 15 **bpftool** **batch file** *FILE* 17 **bpftool** **version** 41 *bpftool* allows for inspection and simple modification of BPF objects
|
A D | bpftool-gen.rst | 2 bpftool-gen 13 **bpftool** [*OPTIONS*] **gen** *COMMAND* 23 | **bpftool** **gen object** *OUTPUT_FILE* *INPUT_FILE* [*INPUT_FILE*...] 24 | **bpftool** **gen skeleton** *FILE* [**name** *OBJECT_NAME*] 25 | **bpftool** **gen help** 29 **bpftool gen object** *OUTPUT_FILE* *INPUT_FILE* [*INPUT_FILE*...] 49 **bpftool gen skeleton** *FILE* 149 **bpftool gen help** 216 **$ bpftool gen object example.bpf.o example1.bpf.o example2.bpf.o** 222 **$ bpftool gen skeleton example.bpf.o name example | tee example.skel.h**
|
/linux/tools/testing/selftests/bpf/ |
A D | test_bpftool_metadata.sh | 45 if ! bpftool version > /dev/null 2>&1; then 58 bpftool prog load metadata_unused.o $BPF_DIR/unused 64 bpftool prog --json | grep '"metadata":{"a":"foo","b":1}' > /dev/null 66 bpftool map | grep 'metadata.rodata' > /dev/null 70 bpftool prog load metadata_used.o $BPF_DIR/used 76 bpftool prog --json | grep '"metadata":{"a":"bar","b":2}' > /dev/null 78 bpftool map | grep 'metadata.rodata' > /dev/null
|
A D | test_bpftool_build.sh | 23 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 D | test_flow_dissector.sh | 22 if bpftool="$(which bpftool)"; then 25 $bpftool prog loadall ./bpf_flow.o /sys/fs/bpf/flow \ 28 if ! unshare --net $bpftool prog attach pinned \ 34 $bpftool prog attach pinned /sys/fs/bpf/flow/_dissect \ 37 if unshare --net $bpftool prog attach pinned \ 43 if ! $bpftool prog detach pinned \
|
A D | test_xdp_veth.sh | 71 if ! bpftool version > /dev/null 2>&1; then 100 bpftool prog loadall \ 103 bpftool map update pinned $BPF_DIR/maps/tx_port key 0 0 0 0 value 122 0 0 0 104 bpftool map update pinned $BPF_DIR/maps/tx_port key 1 0 0 0 value 133 0 0 0 105 bpftool map update pinned $BPF_DIR/maps/tx_port key 2 0 0 0 value 111 0 0 0
|
A D | test_offload.py | 185 _, maps = bpftool("map show", JSON=True, ns=ns, fail=True) 600 bpftool("prog pin id %d %s" % (prog["id"], file_name)) 608 bpftool("map pin id %d %s" % (m["id"], file_name)) 767 ret, progs = bpftool("prog", fail=False) 770 _, base_maps = bpftool("map") 1212 bpftool("map update id %d key %s value %s" % 1247 _, entries = bpftool("map dump id %d" % (m["id"])) 1256 _, entry = bpftool("map getnext id %d" % (m["id"])) 1259 _, entry = bpftool("map getnext id %d key %s" % 1263 ret, err = bpftool("map getnext id %d key %s" % [all …]
|
/linux/tools/bpf/bpftool/ |
A D | Makefile | 98 FEATURE_USER = .bpftool 137 all: $(OUTPUT)bpftool 156 BPFTOOL_BOOTSTRAP := $(BOOTSTRAP_OUTPUT)bpftool 219 $(OUTPUT)bpftool: $(OBJS) $(LIBBPF) 235 $(call QUIET_CLEAN, bpftool) 240 $(Q)$(RM) -- $(OUTPUT)FEATURE-DUMP.bpftool 243 install-bin: $(OUTPUT)bpftool 244 $(call QUIET_INSTALL, bpftool) 246 $(Q)$(INSTALL) $(OUTPUT)bpftool $(DESTDIR)$(prefix)/sbin/bpftool 253 $(call QUIET_UNINST, bpftool) [all …]
|
A D | .gitignore | 4 /bpftool 5 bpftool*.8 6 FEATURE-DUMP.bpftool
|
/linux/samples/bpf/ |
A D | tcp_bpf.readme | 14 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 D | Makefile | 76 all: $(PROGS) bpftool runqslower 109 bpftool: target 110 $(call descend,bpftool) 113 $(call descend,bpftool,install) 116 $(call descend,bpftool,clean) 130 .PHONY: all install clean bpftool bpftool_install bpftool_clean \
|
/linux/kernel/bpf/preload/iterators/ |
A D | Makefile | 10 BPFTOOL_SRC := $(TOOLS_PATH)/bpf/bpftool 11 BPFTOOL_OUTPUT := $(abs_out)/bpftool 12 DEFAULT_BPFTOOL := $(OUTPUT)/sbin/bpftool
|
/linux/tools/bpf/runqslower/ |
A D | Makefile | 6 BPFTOOL_OUTPUT := $(OUTPUT)bpftool/ 7 DEFAULT_BPFTOOL := $(BPFTOOL_OUTPUT)bpftool 90 $(Q)$(MAKE) $(submake_extras) -C ../bpftool OUTPUT=$(BPFTOOL_OUTPUT) \
|
/linux/tools/bpf/bpftool/bash-completion/ |
A D | bpftool | 49 COMPREPLY+=( $( compgen -W "$( bpftool -jp map 2>&1 | \ 57 COMPREPLY+=( $( compgen -W "$( bpftool -jp map 2>&1 | \ 64 COMPREPLY+=( $( compgen -W "$( bpftool -jp map 2>&1 | \ 72 COMPREPLY+=( $( compgen -W "$( bpftool -jp map 2>&1 | \ 79 COMPREPLY+=( $( compgen -W "$( bpftool -jp prog 2>&1 | \ 85 COMPREPLY+=( $( compgen -W "$( bpftool -jp prog 2>&1 | \ 91 COMPREPLY+=( $( compgen -W "$( bpftool -jp prog 2>&1 | \ 97 COMPREPLY+=( $( compgen -W "$( bpftool -jp btf 2>&1 | \ 103 COMPREPLY+=( $( compgen -W "$( bpftool -jp link 2>&1 | \ 159 type=$(bpftool -jp map show $keyword $ref | \ [all …]
|
Completed in 30 milliseconds
12