diff options
author | Alexei Starovoitov <ast@kernel.org> | 2021-03-05 06:11:30 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-03-05 06:11:30 +0300 |
commit | b0d3df486fcfb08810915c5fa95692cd8ec79298 (patch) | |
tree | 84687bd50bbab7707d0fbace6e3b848e58ae031b /tools/bpf/bpf_dbg.c | |
parent | 2374e0f1c7068d60b71e7ab50eff52c48be697e2 (diff) | |
parent | b4f894633fa14d7d46ba7676f950b90a401504bb (diff) | |
download | linux-b0d3df486fcfb08810915c5fa95692cd8ec79298.tar.xz |
Merge branch 'PROG_TEST_RUN support for sk_lookup programs'
Lorenz Bauer says:
====================
We don't have PROG_TEST_RUN support for sk_lookup programs at the
moment. So far this hasn't been a problem, since we can run our
tests in a separate network namespace. For benchmarking it's nice
to have PROG_TEST_RUN, so I've gone and implemented it.
Based on discussion on the v1 I've dropped support for testing multiple
programs at once.
Changes since v3:
- Use bpf_test_timer prefix (Andrii)
Changes since v2:
- Fix test_verifier failure (Alexei)
Changes since v1:
- Add sparse annotations to the t_* functions
- Add appropriate type casts in bpf_prog_test_run_sk_lookup
- Drop running multiple programs
====================
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/bpf/bpf_dbg.c')
0 files changed, 0 insertions, 0 deletions