netoptimizer / prototype-kernel

Prototyping kernel development work outside mainline

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prototyping kernel development

Authors:Jesper Dangaard Brouer <netoptimizer@brouer.com>

This project and GitHub repository is meant for speeding up Linux Kernel development work, this also includes Documentation. The directory layout tries to keep close to the Kernel directory layout. This helps when/if upstreaming the work.

This prototype-kernel was primarily meant for prototyping kernel modules (see blogpost).

XDP eBPF samples

UPDATE: See XDP-tutorial if you want to learn eBPF-coding, and not depend on kernel tree.

The Linux kernel tree also contains some eBPF samples which this github repo is also shadowing for easier prototyping, see directory samples/bpf/.

This directory samples/bpf/ maintains a different Makefile (than depending on the kernels) and maintains a copy of some bpf-header files to ease compiling outside the kernel source tree.

Simply run 'make' in that directory to build the bpf samples.

Documentation

This also covers Kernel Documentation which is being auto-generated by Read The Docs (based on reStructuredText files and Sphinx to generate pretty documentation).

About

Prototyping kernel development work outside mainline

License:GNU General Public License v2.0


Languages

Language:C 94.9%Language:Shell 3.8%Language:Makefile 1.3%