I haven't tried recently, but bpftrace is still changing pretty quickly, and the versions you can get via apt-get are far behind enough to break bpftrace programs due to API differences.
Re:Unlocking eBPF power
by pantalaimon on Thursday October 08, 2020 @07:52AM
(#24718231)
I guess it’s easier to distribuiere up to date versions that way.
I’d think for something kernel-related you want to use tools provided by the same package-tree as the kernel itself.