Re: [PATCH bpf-next 00/10] CO-RE offset relocations

2019-07-29 Thread Song Liu
> On Jul 29, 2019, at 4:09 PM, Andrii Nakryiko > wrote: > > On Mon, Jul 29, 2019 at 1:37 PM Song Liu wrote: >> >> On Mon, Jul 29, 2019 at 1:20 PM Song Liu wrote: >>> >>> On Wed, Jul 24, 2019 at 1:34 PM Andrii Nakryiko wrote: This patch set implements central part of CO-RE (Com

Re: [PATCH bpf-next 00/10] CO-RE offset relocations

2019-07-29 Thread Andrii Nakryiko
On Mon, Jul 29, 2019 at 1:37 PM Song Liu wrote: > > On Mon, Jul 29, 2019 at 1:20 PM Song Liu wrote: > > > > On Wed, Jul 24, 2019 at 1:34 PM Andrii Nakryiko wrote: > > > > > > This patch set implements central part of CO-RE (Compile Once - Run > > > Everywhere, see [0] and [1] for slides and vide

Re: [PATCH bpf-next 00/10] CO-RE offset relocations

2019-07-29 Thread Song Liu
On Mon, Jul 29, 2019 at 1:20 PM Song Liu wrote: > > On Wed, Jul 24, 2019 at 1:34 PM Andrii Nakryiko wrote: > > > > This patch set implements central part of CO-RE (Compile Once - Run > > Everywhere, see [0] and [1] for slides and video): relocating field offsets. > > Most of the details are writt

Re: [PATCH bpf-next 00/10] CO-RE offset relocations

2019-07-29 Thread Song Liu
On Wed, Jul 24, 2019 at 1:34 PM Andrii Nakryiko wrote: > > This patch set implements central part of CO-RE (Compile Once - Run > Everywhere, see [0] and [1] for slides and video): relocating field offsets. > Most of the details are written down as comments to corresponding parts of the > code. > >

[PATCH bpf-next 00/10] CO-RE offset relocations

2019-07-24 Thread Andrii Nakryiko
This patch set implements central part of CO-RE (Compile Once - Run Everywhere, see [0] and [1] for slides and video): relocating field offsets. Most of the details are written down as comments to corresponding parts of the code. Patch #1 adds loading of .BTF.ext offset relocations section and mac