diff options
author | 2024-06-18 10:09:21 -1000 | |
---|---|---|
committer | 2024-06-18 10:09:21 -1000 | |
commit | a5db7817af780db6a7f290c79677eff4fd13c5fa (patch) | |
tree | bf8e0b59f0caf553044f0d0f9afe3cdb412f412e /tools/testing/selftests/sched_ext/util.h | |
parent | sched_ext: Documentation: scheduler: Document extensible scheduler class (diff) | |
download | wireguard-linux-a5db7817af780db6a7f290c79677eff4fd13c5fa.tar.xz wireguard-linux-a5db7817af780db6a7f290c79677eff4fd13c5fa.zip |
sched_ext: Add selftests
Add basic selftests.
Signed-off-by: David Vernet <dvernet@meta.com>
Acked-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | tools/testing/selftests/sched_ext/util.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/testing/selftests/sched_ext/util.h b/tools/testing/selftests/sched_ext/util.h new file mode 100644 index 000000000000..bc13dfec1267 --- /dev/null +++ b/tools/testing/selftests/sched_ext/util.h @@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (c) 2024 Meta Platforms, Inc. and affiliates. + * Copyright (c) 2024 David Vernet <void@manifault.com> + */ + +#ifndef __SCX_TEST_UTIL_H__ +#define __SCX_TEST_UTIL_H__ + +long file_read_long(const char *path); +int file_write_long(const char *path, long val); + +#endif // __SCX_TEST_H__ |