linux/tools/bpf/bpftool/Documentation
Paul Chaignon a7d22ca2a4 bpftool: Match programs by name
When working with frequently modified BPF programs, both the ID and the
tag may change.  bpftool currently doesn't provide a "stable" way to match
such programs.

This patch implements lookup by name for programs.  The show and dump
commands will return all programs with the given name, whereas other
commands will error out if several programs have the same name.

Signed-off-by: Paul Chaignon <paul.chaignon@orange.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Link: https://lore.kernel.org/bpf/b5fc1a5dcfaeb5f16fc80295cdaa606dd2d91534.1576263640.git.paul.chaignon@gmail.com
2019-12-15 09:03:18 -08:00
..
bpftool-btf.rst tools: bpftool: implement "bpftool btf show|list" 2019-08-20 09:51:06 -07:00
bpftool-cgroup.rst tools: bpftool: add support for reporting the effective cgroup progs 2019-07-30 21:15:02 -07:00
bpftool-feature.rst tools: bpftool: add -d option to get debug output from libbpf 2019-05-28 11:02:21 +02:00
bpftool-map.rst bpftool: Match programs by name 2019-12-15 09:03:18 -08:00
bpftool-net.rst tools: bpftool: add documentation for net attach/detach 2019-08-15 17:00:33 -07:00
bpftool-perf.rst tools: bpftool: add -d option to get debug output from libbpf 2019-05-28 11:02:21 +02:00
bpftool-prog.rst bpftool: Match programs by name 2019-12-15 09:03:18 -08:00
bpftool.rst tools: bpftool: make -d option print debug output from verifier 2019-05-28 11:03:26 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00