]> git.ipfire.org Git - thirdparty/linux.git/commit
scx/selftests: Verify we can call create_dsq from prog_run
authorDavid Vernet <void@manifault.com>
Wed, 31 Jul 2024 05:14:37 +0000 (00:14 -0500)
committerTejun Heo <tj@kernel.org>
Wed, 31 Jul 2024 17:47:34 +0000 (07:47 -1000)
commit958b1891846e768584a4d44aed9fabc6f9a445fb
tree5161f89455a4723213905d1dcbd541737a6e7f0a
parent298dec19bdeb6e33ac220502504d969272b50cf6
scx/selftests: Verify we can call create_dsq from prog_run

We already have some testcases verifying that we can call
BPF_PROG_TYPE_SYSCALL progs and invoke scx_bpf_exit(). Let's extend that to
also call scx_bpf_create_dsq() so we get coverage for that as well.

Signed-off-by: David Vernet <void@manifault.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
tools/testing/selftests/sched_ext/prog_run.bpf.c