Developing the kernel

Use this section when changing the kernel or investigating its behaviour.

  1. Build and program: start with Building Peios, then the Build system, Kernel programming and Rust guidance.
  2. Test the change: the Development tools collection includes KUnit, selftests, sanitizers and static analysis. Fault injection exercises error paths.
  3. Observe the result: use Tracing for runtime behaviour and Livepatch for live code changes.
  4. Prepare and maintain the work: consult the Development process, Maintainer guidance and Documentation workflow.

The inherited process material describes Linux upstream contribution practices. For work in the Peios repositories, also follow Peios Standards and Conventions and the instructions in the repository you are changing.

Peios build and tooling guides #

Edit this page