Created
January 8, 2020 21:32
-
-
Save mika/90b9561fd04987b1c63e3ac3e2cf2697 to your computer and use it in GitHub Desktop.
BPF Debian backport
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dget http://deb.debian.org/debian/pool/main/b/bpftrace/bpftrace_0.9.2-2.dsc | |
cd bpftrace-0.9.2 | |
dch -l ~bpo10+ -D buster-backports "Rebuild for buster-backports." | |
dpkg-buildpackage -uc -us -S -d | |
sudo cowbuilder --build --basepath /var/cache/pbuilder/base-buster-amd64.cow ./bpftrace_0.9.2-2\~bpo10+1.dsc | |
dget http://deb.debian.org/debian/pool/main/b/bpfcc/bpfcc_0.11.0-1.dsc | |
cd bpftrace-0.9.2 | |
dch -l ~bpo10+ -D buster-backports "Rebuild for buster-backports." | |
dpkg-buildpackage -uc -us -S -d | |
sudo cowbuilder --build --basepath /var/cache/pbuilder/base-buster-amd64.cow ../bpfcc_0.11.0-1\~bpo10+1.dsc | |
vagrant@buster1 ~ % sudo apt install ./libbpfcc_0.11.0-1\~bpo10+1_amd64.deb ./bpfcc-lua_0.11.0-1\~bpo10+1_amd64.deb ./bpfcc-tools_0.11.0-1\~bpo10+1_all.deb ./python3-bpfcc_0.11.0-1\~bpo10+1_all.deb ./bpftrace_0.9.2-2\~bpo10+1_amd64.deb | |
[...] | |
vagrant@buster1 ~ % dpkg-query --showformat '${Version}\n' -W bpfcc-tools | |
0.11.0-1~bpo10+1 | |
vagrant@buster1 ~ % dpkg-query --showformat '${Version}\n' -W bpftrace | |
0.9.2-2~bpo10+1 | |
vagrant@buster1 ~ % biolatency.bt -V | |
bpftrace v0.9.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment