aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/module_attach.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2023-05-15 13:37:49 +0000
committerAlexei Starovoitov <[email protected]>2023-05-17 05:09:23 +0000
commit45db310984bfea977177fb5fc0ea23ab430129bd (patch)
tree4674993d74f50c529c8ca3bf0693575758b1eb0e /tools/testing/selftests/bpf/prog_tests/module_attach.c
parentselftests/bpf: Move kfunc exports to bpf_testmod/bpf_testmod_kfunc.h (diff)
downloadkernel-45db310984bfea977177fb5fc0ea23ab430129bd.tar.gz
kernel-45db310984bfea977177fb5fc0ea23ab430129bd.zip
selftests/bpf: Move test_progs helpers to testing_helpers object
Moving test_progs helpers to testing_helpers object so they can be used from test_verifier in following changes. Also adding missing ifndef header guard to testing_helpers.h header. Using stderr instead of env.stderr because un/load_bpf_testmod helpers will be used outside test_progs. Also at the point of calling them in test_progs the std files are not hijacked yet and stderr is the same as env.stderr. Acked-by: David Vernet <[email protected]> Signed-off-by: Jiri Olsa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/module_attach.c')
0 files changed, 0 insertions, 0 deletions