diff options
| author | Yonghong Song <[email protected]> | 2020-07-23 11:41:19 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-07-25 20:16:33 -0700 |
| commit | d8793aca708602c676372b03d6493972457524af (patch) | |
| tree | e245a88b1cbd10418cd8eaf8aa1ab2aa732a6dd0 /tools/perf/scripts/python/syscall-counts.py | |
| parent | cd31039a7347610863aa8b77a9162048999723d0 (diff) | |
tools/bpftool: Add bpftool support for bpf map element iterator
The optional parameter "map MAP" can be added to "bpftool iter"
command to create a bpf iterator for map elements. For example,
bpftool iter pin ./prog.o /sys/fs/bpf/p1 map id 333
For map element bpf iterator "map MAP" parameter is required.
Otherwise, bpf link creation will return an error.
Quentin Monnet kindly provided bash-completion implementation
for new "map MAP" option.
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/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions