Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / tools / testing / selftests / sched_ext / minimal.bpf.c
blob6a7eccef0104550e12e2ac463cc5302d8d5eac64
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * A completely minimal scheduler.
5 * This scheduler defines the absolute minimal set of struct sched_ext_ops
6 * fields: its name. It should _not_ fail to be loaded, and can be used to
7 * exercise the default scheduling paths in ext.c.
9 * Copyright (c) 2023 Meta Platforms, Inc. and affiliates.
10 * Copyright (c) 2023 David Vernet <dvernet@meta.com>
11 * Copyright (c) 2023 Tejun Heo <tj@kernel.org>
14 #include <scx/common.bpf.h>
16 char _license[] SEC("license") = "GPL";
18 SEC(".struct_ops.link")
19 struct sched_ext_ops minimal_ops = {
20 .name = "minimal",