Skip to content

qais-yousef/bpf-hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bpf-hello-world

Blue print for a new BPF CO-RE program. Feel free to fork and use as a blue print for your new BPF CO-RE program :-)

See this blog post for intro into BPF CO-RE.

Compile

make

Override ARCH which is set to arm64 by default.

make ARCH=x86

CROSS_COMPILE not supported yet.

clean

make clean

Run

From one terminal window:

sudo ./hello_world

From another terminal window:

sudo cat /sys/kernel/tracing/trace_pipe

CTRL+c to interrupt and exit program.

About

Blue print for a new BPF CO-RE program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published