diff options
author | 2023-07-05 17:12:09 +0800 | |
---|---|---|
committer | 2023-07-06 16:05:08 -0700 | |
commit | 56baeeba0a355ecf4d0c71bfbb1d5ba09501dbfc (patch) | |
tree | 547d48b0aad61f19e5ebc5d8b83f4aa81c9cf114 /include/linux/rcutiny.h | |
parent | libbpf: Cross-join available_filter_functions and kallsyms for multi-kprobes (diff) | |
download | wireguard-linux-56baeeba0a355ecf4d0c71bfbb1d5ba09501dbfc.tar.xz wireguard-linux-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 <liuyun01@kylinos.cn>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20230705091209.3803873-2-liu.yun@linux.dev
Diffstat (limited to 'include/linux/rcutiny.h')
0 files changed, 0 insertions, 0 deletions