aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2023-01-25 10:25:57 -0800
committerAlexei Starovoitov <[email protected]>2023-01-25 10:25:58 -0800
commita5f6b9d577eba18601c14bba2dbff4a9b76af962 (patch)
tree86fdb6a4bd97f6de4ff32ddfc2ca8d83fa9666d6 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent2514a31241e1e9067d379e0fbdb60e4bc2bf4659 (diff)
parent7dd880592a88799f3ef48fda507849a75f11cbf0 (diff)
Merge branch 'Enable struct_ops programs to be sleepable'
David Vernet says: ==================== This is part 4 of https://lore.kernel.org/bpf/[email protected]/ Part 3: https://lore.kernel.org/all/[email protected]/ Part 2: https://lore.kernel.org/all/[email protected]/ Changelog: ---------- v3 -> v4: - Fix accidental typo in name of dummy_st_ops introduced in v2, moving it back to dummy_st_ops from dummy_st_ops_success. Should fix s390x testruns. v2 -> v3: - Don't call a KF_SLEEPABLE kfunc from the dummy_st_ops testsuite, and remove the newly added bpf_kfunc_call_test_sleepable() test kfunc (Martin). - Include vmlinux.h from progs/dummy_st_ops_success.c (previously progs/dummy_st_ops.c) rather than manually defining struct bpf_dummy_ops_state and struct bpf_dummy_ops. (Martin). - Fix a typo added to prog_tests/dummy_st_ops.c in a previous version: s/trace_dummy_st_ops_success__open/trace_dummy_st_ops__open. v1 -> v2: - Add support for specifying sleepable struct_ops programs with struct_ops.s in libbpf (Alexei). - Move failure test case into new dummy_st_ops_fail.c prog file. - Update test_dummy_sleepable() to use struct_ops.s instead of manually setting prog flags. Also remove open_load_skel() helper which is no longer needed. - Fix verifier tests to expect new sleepable prog failure message. ==================== Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions