Skip to content

varun-r-mallya/ebpf-c-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eBPF C Template

A simplified eBPF project template based on libbpf-bootstrap, designed for larger projects.

Prerequisites

  • Git
  • bpftool
  • clang
  • gcc

Setup

  1. Clone
git clone [email protected]:varun-r-mallya/ebpf-c-template.git --recurse-submodules
  1. Generate vmlinux:
cd tools
./gen_vmlinux.sh

Build and Run

  1. Compile the project:
make
  1. Run the program:
sudo ./build/bootstrap

About

Build eBPF programs fast

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published