kernelstats icon indicating copy to clipboard operation
kernelstats copied to clipboard

Calculate Statistics about the Linux Kernel

kernelstats

This project contains a Rust application that extracts statistics about Linux releases from a git repository, and a Jupyter notebook for setting up interesting visualizations.

Dependencies

Features

  • Iterates over git tags and generate statistics per-tag (--kernel-git).
  • Downloads tarballs for older releases based on src/kernels.yaml.

Extracting and Plotting

Warning: Running kernelstats against an existing git directory is currently destructive to any changes in that directory.

Run kernelstats:

RUST_LOG=info cargo run -- --kernel-git path/to/linux.git

Start Jupyter Notebook:

jupyter notebook

Images Generated

Note: Click for bigger images.

Percentage distributions

Percentages

Millions of lines of code over time

Millions