Searched refs:bpftool (Results 1 – 25 of 27) sorted by relevance
12
2 bpftool-struct_ops13 **bpftool** [*OPTIONS*] **struct_ops** *COMMAND*23 | **bpftool** **struct_ops { show | list }** [*STRUCT_OPS_MAP*]24 | **bpftool** **struct_ops dump** [*STRUCT_OPS_MAP*]25 | **bpftool** **struct_ops register** *OBJ*26 | **bpftool** **struct_ops unregister** *STRUCT_OPS_MAP*27 | **bpftool** **struct_ops help**35 **bpftool struct_ops { show | list }** [*STRUCT_OPS_MAP*]44 **bpftool struct_ops dump** [*STRUCT_OPS_MAP*]50 **bpftool struct_ops register** *OBJ*[all …]
2 bpftool-map13 **bpftool** [*OPTIONS*] **map** *COMMAND*24 | **bpftool** **map** { **show** | **list** } [*MAP*]25 | **bpftool** **map create** *FILE* **type** *TYPE* **key** *KEY_SIZE* **value** *VALUE_SIZE* \28 | **bpftool** **map dump** *MAP*29 | **bpftool** **map update** *MAP* [**key** *DATA*] [**value** *VALUE*] [*UPDATE_FLAGS*]30 | **bpftool** **map lookup** *MAP* [**key** *DATA*]31 | **bpftool** **map getnext** *MAP* [**key** *DATA*]32 | **bpftool** **map delete** *MAP* **key** *DATA*33 | **bpftool** **map pin** *MAP* *FILE*[all …]
2 bpftool-link13 **bpftool** [*OPTIONS*] **link** *COMMAND*22 | **bpftool** **link { show | list }** [*LINK*]23 | **bpftool** **link pin** *LINK* *FILE*24 | **bpftool** **link detach** *LINK*25 | **bpftool** **link help**32 **bpftool link { show | list }** [*LINK*]41 Since Linux 5.8 bpftool is able to discover information about43 links. On such kernels bpftool will automatically emit this46 **bpftool link pin** *LINK* *FILE*[all …]
2 bpftool-net13 **bpftool** [*OPTIONS*] **net** *COMMAND*23 | **bpftool** **net** { **show** | **list** } [ **dev** *NAME* ]24 | **bpftool** **net attach** *ATTACH_TYPE* *PROG* **dev** *NAME* [ **overwrite** ]25 | **bpftool** **net detach** *ATTACH_TYPE* **dev** *NAME*26 | **bpftool** **net help**33 **bpftool net { show | list }** [ **dev** *NAME* ]43 users can use **bpftool cgroup** to dump cgroup attachments.55 **bpftool** **net attach** *ATTACH_TYPE* *PROG* **dev** *NAME* [ **overwrite** ]67 **bpftool** **net detach** *ATTACH_TYPE* **dev** *NAME*[all …]
2 bpftool-perf13 **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**
2 bpftool-btf13 **bpftool** [*OPTIONS*] **btf** *COMMAND*22 | **bpftool** **btf** { **show** | **list** } [**id** *BTF_ID*]23 | **bpftool** **btf dump** *BTF_SRC* [**format** *FORMAT*]24 | **bpftool** **btf help**33 **bpftool btf { show | list }** [**id** *BTF_ID*]39 Since Linux 5.8 bpftool is able to discover information about41 objects. On such kernels bpftool will automatically emit this44 **bpftool btf dump** *BTF_SRC*69 **bpftool btf help**[all …]
2 bpftool-feature13 **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** for52 When the **unprivileged** keyword is used, bpftool will dump58 bpftool is inadvertently run as non-root, for example. This59 keyword is unavailable if bpftool was compiled without62 **bpftool feature probe dev** *NAME* [**full**] [**macros** [**prefix** *PREFIX*]][all …]
2 bpftool-cgroup13 **bpftool** [*OPTIONS*] **cgroup** *COMMAND*23 | **bpftool** **cgroup** { **show** | **list** } *CGROUP* [**effective**]24 | **bpftool** **cgroup tree** [*CGROUP_ROOT*] [**effective**]25 | **bpftool** **cgroup attach** *CGROUP* *ATTACH_TYPE* *PROG* [*ATTACH_FLAGS*]26 | **bpftool** **cgroup detach** *CGROUP* *ATTACH_TYPE* *PROG*27 | **bpftool** **cgroup help**39 **bpftool cgroup { show | list }** *CGROUP* [**effective**]49 **bpftool cgroup tree** [*CGROUP_ROOT*] [**effective**]52 bpftool uses cgroup v2 mountpoint.[all …]
2 bpftool-prog13 **bpftool** [*OPTIONS*] **prog** *COMMAND*24 | **bpftool** **prog** { **show** | **list** } [*PROG*]25 | **bpftool** **prog dump xlated** *PROG* [{**file** *FILE* | **opcodes** | **visual** | **linum**}]26 | **bpftool** **prog dump jited** *PROG* [{**file** *FILE* | **opcodes** | **linum**}]27 | **bpftool** **prog pin** *PROG* *FILE*28 | **bpftool** **prog** { **load** | **loadall** } *OBJ* *PATH* [**type** *TYPE*] [**map** {**idx** …29 | **bpftool** **prog attach** *PROG* *ATTACH_TYPE* [*MAP*]30 | **bpftool** **prog detach** *PROG* *ATTACH_TYPE* [*MAP*]31 | **bpftool** **prog tracelog**[all …]
2 bpftool-iter13 **bpftool** [*OPTIONS*] **iter** *COMMAND*20 | **bpftool** **iter pin** *OBJ* *PATH* [**map** *MAP*]21 | **bpftool** **iter help**28 **bpftool iter pin** *OBJ* *PATH* [**map** *MAP*]49 **bpftool iter help**58 **# bpftool iter pin bpf_iter_netlink.o /sys/fs/bpf/my_netlink**65 **# bpftool iter pin bpf_iter_hashmap.o /sys/fs/bpf/my_hashmap map id 20**
2 Print short help message (similar to **bpftool help**).5 Print version number (similar to **bpftool version**), and optional6 features that were included when bpftool was compiled. Optional8 for JIT-ted programs (**bpftool prog dump jited**) and usage of BPF9 skeletons (some features like **bpftool prog profile** or showing
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
2 bpftool-gen13 **bpftool** [*OPTIONS*] **gen** *COMMAND*22 | **bpftool** **gen skeleton** *FILE*23 | **bpftool** **gen help**27 **bpftool gen skeleton** *FILE*124 **bpftool gen help**175 **$ bpftool gen skeleton example.o**
45 if ! bpftool version > /dev/null 2>&1; then58 bpftool prog load metadata_unused.o $BPF_DIR/unused64 bpftool prog --json | grep '"metadata":{"a":"foo","b":1}' > /dev/null66 bpftool map | grep 'metadata.rodata' > /dev/null70 bpftool prog load metadata_used.o $BPF_DIR/used76 bpftool prog --json | grep '"metadata":{"a":"bar","b":2}' > /dev/null78 bpftool map | grep 'metadata.rodata' > /dev/null
23 if [ ! -e tools/bpf/bpftool/Makefile ]; then45 find $dir -type f -executable -name bpftool -print -exec false {} + && \126 make_and_clean -C tools/bpf/bpftool128 make_with_tmpdir -C tools/bpf/bpftool OUTPUT130 make_with_tmpdir -C tools/bpf/bpftool O158 cd bpf/bpftool
22 if bpftool="$(which bpftool)"; then25 $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/flow_dissector \37 if unshare --net $bpftool prog attach pinned \43 if ! $bpftool prog detach pinned \
71 if ! bpftool version > /dev/null 2>&1; then100 bpftool prog loadall \103 bpftool map update pinned $BPF_DIR/maps/tx_port key 0 0 0 0 value 122 0 0 0104 bpftool map update pinned $BPF_DIR/maps/tx_port key 1 0 0 0 value 133 0 0 0105 bpftool map update pinned $BPF_DIR/maps/tx_port key 2 0 0 0 value 111 0 0 0
168 def bpftool(args, JSON=True, ns="", fail=True, include_stderr=False): function173 _, progs = bpftool("prog show", JSON=True, ns=ns, fail=True)185 _, maps = bpftool("map show", JSON=True, ns=ns, fail=True)220 res = bpftool(args, fail=fail, include_stderr=include_stderr)600 bpftool("prog pin id %d %s" % (prog["id"], file_name))608 bpftool("map pin id %d %s" % (m["id"], file_name))615 ret, err = bpftool("prog show pin %s" % (prog_file), fail=False)622 ret, err = bpftool("map show pin %s" % (map_file), fail=False)767 ret, progs = bpftool("prog", fail=False)770 _, base_maps = bpftool("map")[all …]
32 command -v bpftool >/dev/null 2>&1 || \193 progs=$(ip netns exec ${NS_FWD} bpftool net --json | jq -r '.[] | .tc | map(.id) | .[]')195 map=$(bpftool prog show id $prog --json | jq -r '.map_ids | .? | .[]')197 bpftool map update id $map key hex $(hex_mem_str 0) value hex $(hex_mem_str $veth_src)198 bpftool map update id $map key hex $(hex_mem_str 1) value hex $(hex_mem_str $veth_dst)
37 def bpftool(args): function176 res = bpftool(["feature", "probe", "macros"])
3 /bpftool-bootstrap4 /bpftool5 bpftool*.87 FEATURE-DUMP.bpftool
63 FEATURE_USER = .bpftool101 all: $(OUTPUT)bpftool120 BPFTOOL_BOOTSTRAP := $(if $(OUTPUT),$(OUTPUT)bpftool-bootstrap,./bpftool-bootstrap)172 $(OUTPUT)bpftool: $(OBJS) $(LIBBPF)183 $(call QUIET_CLEAN, bpftool)184 $(Q)$(RM) -- $(OUTPUT)bpftool $(OUTPUT)*.o $(OUTPUT)*.d188 $(Q)$(RM) -- $(OUTPUT)FEATURE-DUMP.bpftool191 install: $(OUTPUT)bpftool192 $(call QUIET_INSTALL, bpftool)194 $(Q)$(INSTALL) $(OUTPUT)bpftool $(DESTDIR)$(prefix)/sbin/bpftool[all …]
76 all: $(PROGS) bpftool runqslower109 bpftool: target110 $(call descend,bpftool)113 $(call descend,bpftool,install)116 $(call descend,bpftool,clean)130 .PHONY: all install clean bpftool bpftool_install bpftool_clean \
1 # bpftool(8) bash completion -*- shell-script -*-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 | \[all …]
6 DEFAULT_BPFTOOL := $(OUTPUT)/sbin/bpftool84 $(Q)$(MAKE) $(submake_extras) -C ../bpftool \