- sudo apt install -y bison build-essential cmake flex git libedit-dev libmnl-dev zlib1g-dev libssl-dev libelf-dev libcap-dev libfl-dev llvm clang pkg-config gcc-multilib luajit libluajit-5.1-dev libncurses5-dev libclang-dev clang-tools
- git clone https://github.com/libbpf/libbpf.git
- cd libbpf/src && make && make install && sudo cp libbpf.a /usr/local/lib
- sudo apt install linux-tools-$(uname -r) // (有问题可以到 https://github.com/libbpf/libbpf-bootstrap 复制一份)
- git clone https://github.com/theanarkh/libbpf-code.git
- cd libbpf-code/src && make
- sudo ./hello
-
Notifications
You must be signed in to change notification settings - Fork 0
License
theanarkh/libbpf-code
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published