Currently in version bpftrace 0.20.1 libdw support is not there. This can be seen by running "bpftrace --info". Though rebuilding the package by adding the following to bpftrace.spec adds the support needed: BuildRequires: elfutils-devel Now when rebuilt and reinstalled I can see the following: jyoung@thinkpad:~/rpmbuild/RPMS/x86_64$ sudo bpftrace --info System OS: Linux 6.7.11-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Mar 27 16:50:39 UTC 2024 Arch: x86_64 Build version: v0.20.1 LLVM: 17.0.6 unsafe probe: no bfd: yes libdw (DWARF support): yes <--- THIS IS WHAT WE WANT TO SEE Reproducible: Always
Also ran into this issue, without libdw bpftrace can't show function parameters, ie: # bpftrace -lv 'uprobe:/opt/hdr/lib64/libvulkan_radeon.so:util_compute_fast_udiv_info' WARNING: Cannot parse DWARF: libdw not available WARNING: No DWARF found for "/usr/hdr/lib64/libvulkan_radeon.so", cannot show parameter info while with elfutils-devel in the build requires: # bpftrace -lv 'uprobe:/opt/hdr/lib64/libvulkan_radeon.so:util_compute_fast_udiv_info' uprobe:/usr/hdr/lib64/libvulkan_radeon.so:util_compute_fast_udiv_info uint64_t D unsigned int num_bits unsigned int UINT_BITS
FEDORA-2024-f2dbb63e8a (bpftrace-0.21.2-2.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-f2dbb63e8a
FEDORA-2024-f2dbb63e8a has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-f2dbb63e8a` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-f2dbb63e8a See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-f2dbb63e8a (bpftrace-0.21.2-2.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.