Kselftests Augmented - Running Kernelspace Tests from Userspace
Linux Plumbers Conference via YouTube
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn about a novel framework that bridges the gap between kernel-space and user-space testing in this 16-minute conference talk from the Linux Plumbers Conference. Explore how to extend the kernel testing ecosystem beyond the traditional split between KUnit framework tests and kselftests by implementing a system that allows kernel code to define and register runtime tests accessible from userspace. Discover the proposed framework's architecture that enables userspace applications to query available kernel tests, trigger their execution, and safely collect results and logs. Understand how this approach opens new possibilities for kselftests and other userspace testing tools by allowing them to perform specialized kernel operations and exercise specific scenarios that previously required direct kernel interface access. Examine the practical applications of running pre-defined kernel operations before or after existing tests to enhance testing coverage and capabilities in Linux kernel development.
Syllabus
Kselftests augmented: running kernelspace tests from userspace - Ricardo Cañuelo (Igalia)
Taught by
Linux Plumbers Conference