diff options
| author | Yonghong Song <[email protected]> | 2024-04-10 04:35:37 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-04-11 02:52:25 +0000 |
| commit | 1f3e2091d25b2b140967480177fcaee2f0eebfb1 (patch) | |
| tree | 9619179c3efcd122f536db43153b47fc5b03356b /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c | |
| parent | libbpf: Add bpf_link support for BPF_PROG_TYPE_SOCKMAP (diff) | |
| download | kernel-1f3e2091d25b2b140967480177fcaee2f0eebfb1.tar.gz kernel-1f3e2091d25b2b140967480177fcaee2f0eebfb1.zip | |
bpftool: Add link dump support for BPF_LINK_TYPE_SOCKMAP
An example output looks like:
$ bpftool link
1776: sk_skb prog 49730
map_id 0 attach_type sk_skb_verdict
pids test_progs(8424)
1777: sk_skb prog 49755
map_id 0 attach_type sk_skb_stream_verdict
pids test_progs(8424)
1778: sk_msg prog 49770
map_id 8208 attach_type sk_msg_verdict
pids test_progs(8424)
Reviewed-by: John Fastabend <[email protected]>
Reviewed-by: Quentin Monnet <[email protected]>
Signed-off-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions
