Re: [PATCH bpf-next 0/3] Add generic and raw BTF parsing APIs to libbpf

2020-08-06 Thread Alexei Starovoitov
On Thu, Aug 6, 2020 at 10:51 AM Andrii Nakryiko wrote: > > I haven't checked which of the patches, or some in other series caused > > this on Clear Linux: > > > > 21 clearlinux:latest : FAIL gcc (Clear Linux OS for Intel > > Architecture) 10.2.1 20200723 releases/gcc-10.2.0-3-g677b8

Re: [PATCH bpf-next 0/3] Add generic and raw BTF parsing APIs to libbpf

2020-08-06 Thread Andrii Nakryiko
On Thu, Aug 6, 2020 at 10:39 AM Arnaldo Carvalho de Melo wrote: > > Em Sat, Aug 01, 2020 at 06:32:16PM -0700, Andrii Nakryiko escreveu: > > It's pretty common for applications to want to parse raw (binary) BTF data > > from file, as opposed to parsing it from ELF sections. It's also pretty > > co

Re: [PATCH bpf-next 0/3] Add generic and raw BTF parsing APIs to libbpf

2020-08-06 Thread Arnaldo Carvalho de Melo
Em Sat, Aug 01, 2020 at 06:32:16PM -0700, Andrii Nakryiko escreveu: > It's pretty common for applications to want to parse raw (binary) BTF data > from file, as opposed to parsing it from ELF sections. It's also pretty common > for tools to not care whether given file is ELF or raw BTF format. This

Re: [PATCH bpf-next 0/3] Add generic and raw BTF parsing APIs to libbpf

2020-08-03 Thread Daniel Borkmann
On 8/2/20 3:32 AM, Andrii Nakryiko wrote: It's pretty common for applications to want to parse raw (binary) BTF data from file, as opposed to parsing it from ELF sections. It's also pretty common for tools to not care whether given file is ELF or raw BTF format. This patch series exposes internal

[PATCH bpf-next 0/3] Add generic and raw BTF parsing APIs to libbpf

2020-08-01 Thread Andrii Nakryiko
It's pretty common for applications to want to parse raw (binary) BTF data from file, as opposed to parsing it from ELF sections. It's also pretty common for tools to not care whether given file is ELF or raw BTF format. This patch series exposes internal raw BTF parsing API and adds generic varian