diff options
author | Yonghong Song <[email protected]> | 2020-05-09 10:59:10 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-05-09 17:05:26 -0700 |
commit | 138d0be35b141e09f6b267c6ae4094318d4e4491 (patch) | |
tree | 76a12178ba458cf724b25df390e3d66ccd5ecfbf /tools/perf/scripts/python/syscall-counts.py | |
parent | 6086d29def80edd78f9832ea6eafa74e3818f6a7 (diff) |
net: bpf: Add netlink and ipv6_route bpf_iter targets
This patch added netlink and ipv6_route targets, using
the same seq_ops (except show() and minor changes for stop())
for /proc/net/{netlink,ipv6_route}.
The net namespace for these targets are the current net
namespace at file open stage, similar to
/proc/net/{netlink,ipv6_route} reference counting
the net namespace at seq_file open stage.
Since module is not supported for now, ipv6_route is
supported only if the IPV6 is built-in, i.e., not compiled
as a module. The restriction can be lifted once module
is properly supported for bpf_iter.
Signed-off-by: Yonghong Song <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions