dejavudwh / sabpf-kernel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

provbpf-kernel

Building and installing the kernel

Preparing mainline kernel source:

make prepare

Configuring the kernel:

make config

Build the kernel:

make build

Install the kernel:

make install

Creating the kernel patch

git config --global user.name '<your name>'
git config --global user.email '<your email>'
make patch

The patch will be located in patches/0001-provbf.patch

Building kernel with CamFlow patch + saBPF patch

You should first install CamFlow.

To perform benchmarks we want to build a kernel with both this bpf and camflow patches for comparison. This is how to prepare, build and configure such setting:

git config --global user.name '<your name>'
git config --global user.email '<your email>'
make prepare_camflow
make config_camflow
make build
make install

During make config_nochange pick the appropriate options to test the desired configuration.

About

License:GNU General Public License v2.0


Languages

Language:C 92.6%Language:Shell 4.0%Language:Python 2.0%Language:Makefile 1.4%