diff options
| author | Jiri Olsa <[email protected]> | 2023-05-15 13:37:49 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2023-05-17 05:09:23 +0000 |
| commit | 45db310984bfea977177fb5fc0ea23ab430129bd (patch) | |
| tree | 4674993d74f50c529c8ca3bf0693575758b1eb0e /tools/testing/selftests/bpf/prog_tests/module_attach.c | |
| parent | selftests/bpf: Move kfunc exports to bpf_testmod/bpf_testmod_kfunc.h (diff) | |
| download | kernel-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
