Jackie Liu 56baeeba0a 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
2023-07-06 16:05:08 -07:00
..
2023-01-21 17:52:26 +00:00
2023-06-28 16:43:10 -07:00
2023-04-25 13:00:41 -07:00
2023-06-27 15:05:41 -07:00
2023-06-28 16:43:10 -07:00
2023-04-27 17:41:23 -07:00
2023-04-18 14:22:12 -07:00