Package: bpftrace
Version: 0.11.3-2
Severity: wishlist
X-Debbugs-Cc: [email protected]
Dear Maintainer,
In order for bpftrace to support setting uprobes by address/offset, the build
dependency libbfd-dev must be added. Otherwise uprobes are limited to symbols,
which in many cases is not sufficient for debugging live systems.
Example:
# bpftrace -e 'uprobe:/root/hello:0x1139 { print(nsecs); }'
Attaching 1 probe...
Can't check if uprobe is in proper place (compiled without (k|u)probe offset
support): /root/hello:main+4
When bpftrace is built with libbfd-dev as a build dep:
# bpftrace -e 'uprobe:/root/hello:0x1139 { print(nsecs); }'
Attaching 1 probe...
1226447059716
1227603412398
1228606976687
^C
Please consider making this simple change to allow full uprobe support.
Thank you.
John Ogness
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 5.9.0-3-amd64 (SMP w/16 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages bpftrace depends on:
ii libbinutils 2.35.1-2
ii libbpfcc 0.17.0-7+b1
ii libc6 2.31-4
ii libclang1-11 1:11.0.0-5+b1
ii libgcc-s1 10.2.0-16
ii libllvm11 1:11.0.0-5+b1
ii libstdc++6 10.2.0-16
bpftrace recommends no packages.
bpftrace suggests no packages.
-- no debconf information