San7o/ebpf-c-sample
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
ebpf-c-sample
=============
This repository contains a sample project for an eBPF program + loader
in C with libbpf and clang.
Author: Giovanni Santini
Mail: giovanni.santini@proton.me
License: GPLv2
Usage
-----
Clone the repository:
git clone https://github.com/San7o/ebpf-c-sample.git --recursive
Build only the eBPF program:
make ebpf
Build the loader:
make loader
Load the eBPF program:
make run