Re: [PATCH v4 bpf-next 0/4] add btf dumping to bpftool

2019-04-25 Thread Alexei Starovoitov
On Thu, Apr 25, 2019 at 4:08 PM Andrii Nakryiko wrote: > > This patch set adds a new `bpftool btf dump` sub-command, which allows to dump > BTF contents (only types for now). Currently it only outputs low-level > content, almost 1:1 with binary BTF format, but follow up patches will add > ability

[PATCH v4 bpf-next 0/4] add btf dumping to bpftool

2019-04-25 Thread Andrii Nakryiko
This patch set adds a new `bpftool btf dump` sub-command, which allows to dump BTF contents (only types for now). Currently it only outputs low-level content, almost 1:1 with binary BTF format, but follow up patches will add ability to dump BTF types as a compilable C header file. JSON output is su