Re: [PATCH bpf-next 1/5] libbpf: update BTF reloc support to latest Clang format

2019-10-15 Thread Andrii Nakryiko
On Tue, Oct 15, 2019 at 8:15 AM Alexei Starovoitov wrote: > > On 10/14/19 4:49 PM, Andrii Nakryiko wrote: > > BTF offset reloc was generalized in recent Clang into field relocation, > > capturing extra u32 field, specifying what aspect of captured field > > needs to be relocated. This changes .BTF

Re: [PATCH bpf-next 1/5] libbpf: update BTF reloc support to latest Clang format

2019-10-15 Thread Alexei Starovoitov
On 10/14/19 4:49 PM, Andrii Nakryiko wrote: > BTF offset reloc was generalized in recent Clang into field relocation, > capturing extra u32 field, specifying what aspect of captured field > needs to be relocated. This changes .BTF.ext's record size for this > relocation from 12 bytes to 16 bytes. G

[PATCH bpf-next 1/5] libbpf: update BTF reloc support to latest Clang format

2019-10-14 Thread Andrii Nakryiko
BTF offset reloc was generalized in recent Clang into field relocation, capturing extra u32 field, specifying what aspect of captured field needs to be relocated. This changes .BTF.ext's record size for this relocation from 12 bytes to 16 bytes. Given these format changes happened in Clang before o