Topics

Any example of using BTF?

Wang Jian
 

Hi all,

I am new to BPF/BTF but I am interested in it and want to try it.
So which llvm/clang version support it? And any examples/documents
will be appreciated.

--
Regards,
Wang Jian

Martin KaFai Lau
 

On Mon, Oct 29, 2018 at 09:18:35PM +0800, Wang Jian wrote:
Hi all,

I am new to BPF/BTF but I am interested in it and want to try it.
So which llvm/clang version support it? And any examples/documents
will be appreciated.
Here is a doc on how to generate the BTF:
https://cilium.readthedocs.io/en/v1.3/bpf/#llvm

(search for BTF)