summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2024-03-26 19:21:51 +0300
committerAlexei Starovoitov <ast@kernel.org>2024-03-29 04:31:40 +0300
commit985d0681b46be7db5ccc330d9a7f318b96ce0029 (patch)
tree9930d2880ee3a9d0acc2575b52f6a868992b99e6 /tools/perf/scripts/python/net_dropmonitor.py
parent3124591f686115aca25d772c2ccb7b1e202c3197 (diff)
downloadlinux-985d0681b46be7db5ccc330d9a7f318b96ce0029.tar.xz
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>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions