-
Notifications
You must be signed in to change notification settings - Fork 148
selftests/bpf: benchmark all symbols for kprobe-multi #9516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Upstream branch: 5c42715 |
c3c6b4b
to
1a79214
Compare
Upstream branch: bf7a6a6 |
b2ba8e6
to
90e410f
Compare
1a79214
to
d47111e
Compare
Upstream branch: b5bbbb7 |
90e410f
to
1fb88a9
Compare
d47111e
to
d07b74e
Compare
Upstream branch: 2693227 |
1fb88a9
to
f60c6f2
Compare
d07b74e
to
5057c80
Compare
We need to get all the kernel function that can be traced sometimes, so we move the get_syms() and get_addrs() in kprobe_multi_test.c to trace_helpers.c and rename it to bpf_get_ksyms() and bpf_get_addrs(). Signed-off-by: Menglong Dong <[email protected]>
Upstream branch: 78e097f |
Some functions is recursive for the kprobe_multi and impact the benchmark results. So just skip them. Signed-off-by: Menglong Dong <[email protected]>
For now, the benchmark for kprobe-multi is single, which means there is only 1 function is hooked during testing. Add the testing "kprobe-multi-all", which will hook all the kernel functions during the benchmark. And the "kretprobe-multi-all" is added too. Signed-off-by: Menglong Dong <[email protected]>
f60c6f2
to
fa930f1
Compare
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=992829 expired. Closing PR. |
Pull request for series with
subject: selftests/bpf: benchmark all symbols for kprobe-multi
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=992829