Skip to content

eBPF (Extended Berkeley Packet Filter) is a virtual machine that runs within the Linux kernel. It allows developers to create and run small programs (called "eBPF programs") that can be attached to various kernel objects🔥

License

Notifications You must be signed in to change notification settings

LinuxKernelContent/eBPF-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About

eBPF (Extended Berkeley Packet Filter) is a virtual machine that runs within the Linux kernel.

  1. Install required dependencies:
sudo apt-get install build-essential cmake bison flex libedit-dev zlib1g-dev libllvm13 llvm-13-dev libclang-13-dev python3-distutils
  1. Clone the 'bcc' repository
git clone https://github.com/iovisor/bcc.git
  1. Build and install 'bcc':
cd bcc
mkdir build
cd build
cmake ..
make
sudo make install
  1. Verify installation
python3 -c "import bcc"

run as sudoer:

sudu su
python3 opensnoop.py

About

eBPF (Extended Berkeley Packet Filter) is a virtual machine that runs within the Linux kernel. It allows developers to create and run small programs (called "eBPF programs") that can be attached to various kernel objects🔥

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 61.6%
  • Makefile 38.4%