diff options
author | Yafang Shao <[email protected]> | 2022-06-29 15:48:32 +0000 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2022-06-30 23:48:13 +0200 |
commit | 7a255ae77216237a4ce83ddea595aa4e0a812f46 (patch) | |
tree | ae4504144361d5bdabd82d39388f3893816675e2 /tools/perf/scripts/python/stackcollapse.py | |
parent | 39e940d4abfabb08b6937a315546b24d10be67e3 (diff) |
bpftool: Show also the name of type BPF_OBJ_LINK
For example, /sys/fs/bpf/maps.debug is a BPF link. When you run `bpftool map show`
to show it:
Before:
$ bpftool map show pinned /sys/fs/bpf/maps.debug
Error: incorrect object type: unknown
After:
$ bpftool map show pinned /sys/fs/bpf/maps.debug
Error: incorrect object type: link
Signed-off-by: Yafang Shao <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Reviewed-by: Quentin Monnet <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions