linux/tools/bpf/bpftool/Documentation
Yonghong Song d8793aca70 tools/bpftool: Add bpftool support for bpf map element iterator
The optional parameter "map MAP" can be added to "bpftool iter"
command to create a bpf iterator for map elements. For example,
  bpftool iter pin ./prog.o /sys/fs/bpf/p1 map id 333

For map element bpf iterator "map MAP" parameter is required.
Otherwise, bpf link creation will return an error.

Quentin Monnet kindly provided bash-completion implementation
for new "map MAP" option.

Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200723184119.590799-1-yhs@fb.com
2020-07-25 20:16:33 -07:00
..
bpftool-btf.rst tools/bpftool: Add documentation and sample output for process info 2020-06-22 17:01:49 -07:00
bpftool-cgroup.rst bpf, bpftool: Enable get{peer, sock}name attach types 2020-05-19 11:32:04 -07:00
bpftool-feature.rst tools, bpftool: Minor fixes for documentation 2020-05-11 21:20:50 +02:00
bpftool-gen.rst tools, bpftool: Minor fixes for documentation 2020-05-11 21:20:50 +02:00
bpftool-iter.rst tools/bpftool: Add bpftool support for bpf map element iterator 2020-07-25 20:16:33 -07:00
bpftool-link.rst tools/bpftool: Add documentation and sample output for process info 2020-06-22 17:01:49 -07:00
bpftool-map.rst Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2020-07-04 17:48:34 -07:00
bpftool-net.rst tools, bpftool: Minor fixes for documentation 2020-05-11 21:20:50 +02:00
bpftool-perf.rst tools, bpftool: Minor fixes for documentation 2020-05-11 21:20:50 +02:00
bpftool-prog.rst tools/bpftool: Add name mappings for SK_LOOKUP prog and attach type 2020-07-17 20:18:17 -07:00
bpftool-struct_ops.rst tools, bpftool: Minor fixes for documentation 2020-05-11 21:20:50 +02:00
bpftool.rst tools, bpftool: Minor fixes for documentation 2020-05-11 21:20:50 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00