diff options
author | John Fastabend <[email protected]> | 2018-10-15 11:19:50 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2018-10-15 16:13:14 -0700 |
commit | b7d3826c2ed6c3e626e7ae796c5df2c0d2551c6a (patch) | |
tree | 3db8e75d2aeddd47eddd3c03cc3d46de09b29333 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 7d1f12b8b2abab0a7af240b89b5ad68bf7f183e7 (diff) |
bpf: bpftool, add support for attaching programs to maps
Sock map/hash introduce support for attaching programs to maps. To
date I have been doing this with custom tooling but this is less than
ideal as we shift to using bpftool as the single CLI for our BPF uses.
This patch adds new sub commands 'attach' and 'detach' to the 'prog'
command to attach programs to maps and then detach them.
Signed-off-by: John Fastabend <[email protected]>
Reviewed-by: Jakub Kicinski <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions