-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Required dependencies for libbpf-tools? #3224
Comments
So there shouldn't be any runtime dependencies in terms of libraries, beyond libz and libelf (for libbpf itself). For For xfsslower, seems like For |
Regarding Regarding FTR, I am testing this from inside a VirtualBox VM:
Thanks, @anakryiko! |
so it might be that VirtualBox doesn't support/pass-through hardware counters. For qemu I use -cpu host argument, which probably makes this all work. You'll need to figure out what to do for VirtualBox to make this work. |
@mika, seems like there are efforts to package libbpf-tools on Fedora and ALT Linux. Would you mind joining the discussion so that it stays as consistent as possible across various distros? Please see #3263 (comment), thanks! |
@anakryiko thank you for the pointer, will join! |
Following up on Brendan Gregg's excellent http://www.brendangregg.com/blog/2020-11-04/bpf-co-re-btf-libbpf.html I looked into packaging the
libbpf-tools
binaries (biolatency
,biopattern
,biosnoop
,biostacks
,bitesize
,cpudist
,drsnoop
,execsnoop
,filelife
,hardirqs
,llcstat
,numamove
,opensnoop
,readahead
,runqlat
,runqlen
,runqslower
,softirqs
,syscount
,tcpconnect
,tcpconnlat
,vfsstat
+xfsslower
), to be able to use them on systems without having to install lots of additional packages.I did my packaging work on current Debian testing/bullseye, see https://gist.github.com/mika/e55ab72659bda90d8fecbbb42830d250
Most of the binaries work as intended, though
readahead
,xfsslower
+llcstat
are failing for me (both on the system where I built the binaries as well as on another Debian/bullseye system with just the compiled binaries and an according kernel withCONFIG_DEBUG_INFO_BTF
enabled):Any hints what's missing here? (I'd like to ensure the BTF support is as good as possible on Debian/bullseye, being the upcoming stable release of Debian.)
Thanks!
The text was updated successfully, but these errors were encountered: