Skip to content

Examples of C++ programs that generates BPF bytecodes

Notifications You must be signed in to change notification settings

rogercoll/learningeBPF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learing eBPF

Prerequisits

In Debian systems we can easily install the needed libs with:

sudo apt install libelf-dev libbpfcc-dev bpfcc-tools clang

Usage

To generate and attach the BPF probes to the kernel we just need to compile and run the desired program:

make APP=file_name_without_cpp
sudo ./file_name_without_cpp

Kprobes

About

Examples of C++ programs that generates BPF bytecodes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published