diff options
author | Andrii Nakryiko | 2024-03-26 09:21:49 -0700 |
---|---|---|
committer | Alexei Starovoitov | 2024-03-28 18:31:40 -0700 |
commit | b4ccf9158f5893dedb898687272fabfe80f58907 (patch) | |
tree | 83864944c3c44f20a8e26b779ea7bb7b10f4e57b /kernel | |
parent | 208c4391204d25d9178fbc87f216daffad00cd15 (diff) |
selftests/bpf: lazy-load trigger bench BPF programs
Instead of front-loading all possible benchmarking BPF programs for
trigger benchmarks, explicitly specify which BPF programs are used by
specific benchmark and load only it.
This allows to be more flexible in supporting older kernels, where some
program types might not be possible to load (e.g., those that rely on
newly added kfunc).
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20240326162151.3981687-5-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions