Re: BTF examples or documentation?


Daniel Borkmann
 

On 08/08/2018 10:57 PM, Brendan Gregg wrote:
On Wed, Aug 8, 2018 at 1:28 PM, PJ Waskiewicz
<peter.waskiewicz.jr@...> wrote:
Hi folks,

We (Maciek and I) were on the call today, and were experiencing some audio/mic issues. We're looking for any documentation or usage models that people might have in flight already for BTF. Outside of the kernel source, we are drawing a blank. Any pointers here would be most helpful.
I expect to use BTF as a source for kernel struct information, as a
lightweight version of debuginfo (and hopefully one day BTF info will
be included in the kernel binary, so it's always there). I have no
docs to share yet. If you figure anything out, please share anywhere.
Here, blog post, talk, etc. :-)
There are some initial bits on BTF (mostly on the workflow for now) in
the Cilium doc that can be found here:

- http://cilium.readthedocs.io/en/latest/bpf/#llvm
- http://cilium.readthedocs.io/en/latest/bpf/#bpftool

Perhaps that helps to get started.

Cheers,
Daniel

Join iovisor-dev@lists.iovisor.org to automatically receive all group messages.