On Fri, May 24, 2019 at 11:59 AM Andrii Nakryiko <andriin@xxxxxx> wrote: > > This patch set adds BTF-to-C dumping APIs to libbpf, allowing to output > a subset of BTF types as a compilable C type definitions. This is useful by > itself, as raw BTF output is not easy to inspect and comprehend. But it's also > a big part of BPF CO-RE (compile once - run everywhere) initiative aimed at > allowing to write relocatable BPF programs, that won't require on-the-host > kernel headers (and would be able to inspect internal kernel structures, not > exposed through kernel headers). Tested. Works. Applied. Thanks!