diff options
author | Yonghong Song <[email protected]> | 2020-05-13 11:02:19 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-05-13 12:30:50 -0700 |
commit | 15172a46fa2796c1a1358a36babd31274716ed41 (patch) | |
tree | c03b6ee05a943f83193860af50c6a9b364b13d4f /tools/perf/scripts/python/syscall-counts.py | |
parent | 2e3ed68bfcd9c5ca2cf8b88ba23a34992ccd0b1f (diff) |
bpf: net: Refactor bpf_iter target registration
Currently bpf_iter_reg_target takes parameters from target
and allocates memory to save them. This is really not
necessary, esp. in the future we may grow information
passed from targets to bpf_iter manager.
The patch refactors the code so target reg_info
becomes static and bpf_iter manager can just take
a reference to it.
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