aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/perf_buffer.c
diff options
context:
space:
mode:
authorYonghong Song <[email protected]>2020-08-21 18:44:19 +0000
committerAlexei Starovoitov <[email protected]>2020-08-21 21:01:39 +0000
commitb76f22269028fb252727a696084c70494d80a52c (patch)
tree7643dc0e93c047a8fa5aa58a274e5fcd22a574e3 /tools/testing/selftests/bpf/prog_tests/perf_buffer.c
parentbpf: Implement link_query for bpf iterators (diff)
downloadkernel-b76f22269028fb252727a696084c70494d80a52c.tar.gz
kernel-b76f22269028fb252727a696084c70494d80a52c.zip
bpf: Implement link_query callbacks in map element iterators
For bpf_map_elem and bpf_sk_local_storage bpf iterators, additional map_id should be shown for fdinfo and userspace query. For example, the following is for a bpf_map_elem iterator. $ cat /proc/1753/fdinfo/9 pos: 0 flags: 02000000 mnt_id: 14 link_type: iter link_id: 34 prog_tag: 104be6d3fe45e6aa prog_id: 173 target_name: bpf_map_elem map_id: 127 Signed-off-by: Yonghong Song <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/perf_buffer.c')
0 files changed, 0 insertions, 0 deletions