diff options
| author | Jackie Liu <[email protected]> | 2023-07-05 09:12:09 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2023-07-06 23:05:08 +0000 |
| commit | 56baeeba0a355ecf4d0c71bfbb1d5ba09501dbfc (patch) | |
| tree | 547d48b0aad61f19e5ebc5d8b83f4aa81c9cf114 /tools/testing/selftests/bpf/prog_tests | |
| parent | libbpf: Cross-join available_filter_functions and kallsyms for multi-kprobes (diff) | |
| download | kernel-56baeeba0a355ecf4d0c71bfbb1d5ba09501dbfc.tar.gz kernel-56baeeba0a355ecf4d0c71bfbb1d5ba09501dbfc.zip | |
libbpf: Use available_filter_functions_addrs with multi-kprobes
Now that kernel provides a new available_filter_functions_addrs file
which can help us avoid the need to cross-validate
available_filter_functions and kallsyms, we can improve efficiency of
multi-attach kprobes. For example, on my device, the sample program [1]
of start time:
$ sudo ./funccount "tcp_*"
before after
1.2s 1.0s
[1]: https://github.com/JackieLiu1/ketones/tree/master/src/funccount
Signed-off-by: Jackie Liu <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions
