Checking for BTF support

How do I know if BTF support is built into bpftrace? And if my system supports BTF?

Hi, you can run bpftrace --info and if under Kernel features you see btf: yes, then both your bpftrace and your system support btf.