kselftest: Add test for core sched prctl interface
authorChris Hyser <chris.hyser@oracle.com>
Wed, 24 Mar 2021 21:40:16 +0000 (17:40 -0400)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 12 May 2021 09:43:32 +0000 (11:43 +0200)
commit9f26990074931bbf797373e53104216059b300b1
tree2480d66ce502b27c9fea2ce857870db532ad9898
parent7ac592aa35a684ff1858fb9ec282886b9e3575ac
kselftest: Add test for core sched prctl interface

Provides a selftest and examples of using the interface.

[peterz: updated to not use sched_debug]
Signed-off-by: Chris Hyser <chris.hyser@oracle.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Don Hiatt <dhiatt@digitalocean.com>
Tested-by: Hongyu Ning <hongyu.ning@linux.intel.com>
Tested-by: Vincent Guittot <vincent.guittot@linaro.org>
Link: https://lkml.kernel.org/r/20210422123309.100860030@infradead.org
tools/testing/selftests/sched/.gitignore [new file with mode: 0644]
tools/testing/selftests/sched/Makefile [new file with mode: 0644]
tools/testing/selftests/sched/config [new file with mode: 0644]
tools/testing/selftests/sched/cs_prctl_test.c [new file with mode: 0644]