Home
last modified time | relevance | path

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

/Linux-v4.19/tools/bpf/bpftool/Documentation/
Dbpftool-map.rst2 bpftool-map
13 **bpftool** [*OPTIONS*] **map** *COMMAND*
24 | **bpftool** **map { show | list }** [*MAP*]
25 | **bpftool** **map dump** *MAP*
26 | **bpftool** **map update** *MAP* **key** *DATA* **value** *VALUE* [*UPDATE_FLAGS*]
27 | **bpftool** **map lookup** *MAP* **key** *DATA*
28 | **bpftool** **map getnext** *MAP* [**key** *DATA*]
29 | **bpftool** **map delete** *MAP* **key** *DATA*
30 | **bpftool** **map pin** *MAP* *FILE*
31 | **bpftool** **map event_pipe** *MAP* [**cpu** *N* **index** *M*]
[all …]
Dbpftool-prog.rst2 bpftool-prog
13 **bpftool** [*OPTIONS*] **prog** *COMMAND*
23 | **bpftool** **prog { show | list }** [*PROG*]
24 | **bpftool** **prog dump xlated** *PROG* [{**file** *FILE* | **opcodes** | **visual**}]
25 | **bpftool** **prog dump jited** *PROG* [{**file** *FILE* | **opcodes**}]
26 | **bpftool** **prog pin** *PROG* *FILE*
27 | **bpftool** **prog load** *OBJ* *FILE* [**type** *TYPE*] [**map** {**idx** *IDX* | **name** *NAME…
28 | **bpftool** **prog help**
44 **bpftool prog { show | list }** [*PROG*]
52 **bpftool prog dump xlated** *PROG* [{ **file** *FILE* | **opcodes** | **visual** }]
[all …]
Dbpftool-cgroup.rst2 bpftool-cgroup
13 **bpftool** [*OPTIONS*] **cgroup** *COMMAND*
23 | **bpftool** **cgroup { show | list }** *CGROUP*
24 | **bpftool** **cgroup tree** [*CGROUP_ROOT*]
25 | **bpftool** **cgroup attach** *CGROUP* *ATTACH_TYPE* *PROG* [*ATTACH_FLAGS*]
26 | **bpftool** **cgroup detach** *CGROUP* *ATTACH_TYPE* *PROG*
27 | **bpftool** **cgroup help**
37 **bpftool cgroup { show | list }** *CGROUP*
43 **bpftool cgroup tree** [*CGROUP_ROOT*]
46 bpftool uses cgroup v2 mountpoint.
[all …]
Dbpftool-perf.rst2 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**
44 Print short generic help message (similar to **bpftool help**).
47 Print version number (similar to **bpftool version**).
59 | **# bpftool perf**
69 | **# bpftool -j perf**
[all …]
Dbpftool.rst13 **bpftool** [*OPTIONS*] *OBJECT* { *COMMAND* | **help** }
15 **bpftool** **batch file** *FILE*
17 **bpftool** **version**
37 *bpftool* allows for inspection and simple modification of BPF objects
46 Print short help message (similar to **bpftool help**).
49 Print version number (similar to **bpftool version**).
60 **bpftool-map**\ (8), **bpftool-prog**\ (8), **bpftool-cgroup**\ (8)
61 **bpftool-perf**\ (8)
/Linux-v4.19/tools/bpf/bpftool/
DMakefile54 FEATURE_USER = .bpftool
84 all: $(OUTPUT)bpftool
92 $(OUTPUT)bpftool: $(OBJS) $(LIBBPF)
99 $(call QUIET_CLEAN, bpftool)
100 $(Q)$(RM) $(OUTPUT)bpftool $(OUTPUT)*.o $(OUTPUT)*.d
102 $(Q)$(RM) $(OUTPUT)FEATURE-DUMP.bpftool
104 install: $(OUTPUT)bpftool
105 $(call QUIET_INSTALL, bpftool)
107 $(Q)$(INSTALL) $(OUTPUT)bpftool $(DESTDIR)$(prefix)/sbin/bpftool
109 $(Q)$(INSTALL) -m 0644 bash-completion/bpftool $(DESTDIR)$(bash_compdir)
[all …]
D.gitignore2 bpftool
3 bpftool*.8
5 FEATURE-DUMP.bpftool
/Linux-v4.19/tools/bpf/
DMakefile66 all: $(PROGS) bpftool
98 bpftool: target
99 $(call descend,bpftool)
102 $(call descend,bpftool,install)
105 $(call descend,bpftool,clean)
107 .PHONY: all install clean bpftool bpftool_install bpftool_clean
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_offload.py161 def bpftool(args, JSON=True, ns="", fail=True, include_stderr=False): function
166 _, progs = bpftool("prog show", JSON=True, ns=ns, fail=True)
178 _, maps = bpftool("map show", JSON=True, ns=ns, fail=True)
215 res = bpftool(args, fail=fail, include_stderr=include_stderr)
521 bpftool("prog pin id %d %s" % (prog["id"], file_name))
529 bpftool("map pin id %d %s" % (m["id"], file_name))
536 ret, err = bpftool("prog show pin %s" % (prog_file), fail=False)
543 ret, err = bpftool("map show pin %s" % (map_file), fail=False)
619 ret, progs = bpftool("prog", fail=False)
622 _, base_maps = bpftool("map")
[all …]
/Linux-v4.19/tools/bpf/bpftool/bash-completion/
Dbpftool1 # bpftool(8) bash completion -*- shell-script -*-
78 COMPREPLY+=( $( compgen -W "$( bpftool -jp map 2>&1 | \
84 COMPREPLY+=( $( compgen -W "$( bpftool -jp map 2>&1 | \
92 COMPREPLY+=( $( compgen -W "$( bpftool -jp prog 2>&1 | \
98 COMPREPLY+=( $( compgen -W "$( bpftool -jp prog 2>&1 | \
131 # For bpftool map update: retrieve type of the map to update.
144 type=$(bpftool -jp map show $keyword $ref | \
229 COMPREPLY=( $( compgen -W "$( bpftool help 2>&1 | \
557 complete -F _bpftool bpftool
/Linux-v4.19/Documentation/bpf/
Dbpf_devel_QA.rst22 A: Since all BPF kernel development as well as bpftool and iproute2 BPF
262 Q: When should I add code to the bpftool?
264 A: The main purpose of bpftool (under tools/bpf/bpftool/) is to provide
268 bpftool should be extended as well to support dumping them.
/Linux-v4.19/Documentation/networking/
Dfilter.txt489 is discouraged and introspection through bpftool (under tools/bpf/bpftool/) is the