Package: bpftrace
Version: 0.11.3-3
Severity: normal
X-Debbugs-Cc: [email protected],[email protected]
Hi
bpftrace does not seem to be able to use BTF debug info. Since 0.11.0
bpftrace would support for listing struct/union/enum definitions using
BTF.
In 5.10.5-1 upload src:linux enabled BTF debug info for the amd64 and
arm64 archiectures.
But pbftrace seem not to be able to use those, as shown in bpftrace
--info:
[...]
Kernel features
Instruction limit: 1000000
Loop support: yes
btf: no
[...]
root@sid:~# bpftrace -lv "struct path"
root@sid:~#
While the debug info would be there:
root@sid:~# bpftool btf dump file //sys/kernel/btf/vmlinux format c
[...]
struct path {
struct vfsmount *mnt;
struct dentry *dentry;
};
[...]
Regards,
Salvatore
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-1-amd64 (SMP w/8 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