Searched hist:"985 d0681b46be7db5ccc330d9a7f318b96ce0029" (Results 1 – 4 of 4) sorted by relevance
/linux/tools/testing/selftests/bpf/benchs/ |
H A D | run_bench_trigger.sh | diff 985d0681b46be7db5ccc330d9a7f318b96ce0029 Tue Mar 26 17:21:51 CET 2024 Andrii Nakryiko <andrii@kernel.org> selftests/bpf: add batched tp/raw_tp/fmodret tests
Utilize bpf_modify_return_test_tp() kfunc to have a fast way to trigger tp/raw_tp/fmodret programs from another BPF program, which gives us comparable batched benchmarks to (batched) kprobe/fentry benchmarks.
We don't switch kprobe/fentry batched benchmarks to this kfunc to make bench tool usable on older kernels as well.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/r/20240326162151.3981687-7-andrii@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
H A D | bench_trigger.c | diff 985d0681b46be7db5ccc330d9a7f318b96ce0029 Tue Mar 26 17:21:51 CET 2024 Andrii Nakryiko <andrii@kernel.org> selftests/bpf: add batched tp/raw_tp/fmodret tests
Utilize bpf_modify_return_test_tp() kfunc to have a fast way to trigger tp/raw_tp/fmodret programs from another BPF program, which gives us comparable batched benchmarks to (batched) kprobe/fentry benchmarks.
We don't switch kprobe/fentry batched benchmarks to this kfunc to make bench tool usable on older kernels as well.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/r/20240326162151.3981687-7-andrii@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | trigger_bench.c | diff 985d0681b46be7db5ccc330d9a7f318b96ce0029 Tue Mar 26 17:21:51 CET 2024 Andrii Nakryiko <andrii@kernel.org> selftests/bpf: add batched tp/raw_tp/fmodret tests
Utilize bpf_modify_return_test_tp() kfunc to have a fast way to trigger tp/raw_tp/fmodret programs from another BPF program, which gives us comparable batched benchmarks to (batched) kprobe/fentry benchmarks.
We don't switch kprobe/fentry batched benchmarks to this kfunc to make bench tool usable on older kernels as well.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/r/20240326162151.3981687-7-andrii@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|
/linux/tools/testing/selftests/bpf/ |
H A D | bench.c | diff 985d0681b46be7db5ccc330d9a7f318b96ce0029 Tue Mar 26 17:21:51 CET 2024 Andrii Nakryiko <andrii@kernel.org> selftests/bpf: add batched tp/raw_tp/fmodret tests
Utilize bpf_modify_return_test_tp() kfunc to have a fast way to trigger tp/raw_tp/fmodret programs from another BPF program, which gives us comparable batched benchmarks to (batched) kprobe/fentry benchmarks.
We don't switch kprobe/fentry batched benchmarks to this kfunc to make bench tool usable on older kernels as well.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/r/20240326162151.3981687-7-andrii@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|