> On Jul 24, 2019, at 12:27 PM, Andrii Nakryiko wrote:
>
> This patch implements the core logic for BPF CO-RE offsets relocations.
> All the details are described in code comments.
>
> Signed-off-by: Andrii Nakryiko
> ---
> tools/lib/bpf/libbpf.c | 866 +++
> On Jul 27, 2019, at 12:09 PM, Andrii Nakryiko
> wrote:
>
> On Sat, Jul 27, 2019 at 11:59 AM Song Liu wrote:
>>
>>
>>
>>> On Jul 26, 2019, at 11:11 PM, Andrii Nakryiko
>>> wrote:
>>>
>>> On Thu, Jul 25, 2019 at 12:32 PM Song Liu wrote:
> On Jul 24, 2019, at 12:2
On Sat, Jul 27, 2019 at 2:29 PM Yonghong Song wrote:
>
>
>
> On 7/27/19 11:24 AM, Andrii Nakryiko wrote:
> > On Sat, Jul 27, 2019 at 10:00 AM Alexei Starovoitov wrote:
> >>
> >> On 7/26/19 11:25 PM, Andrii Nakryiko wrote:
> > + } else if (class == BPF_ST && BPF_MODE(insn->code) == BPF_MEM
On 7/27/19 11:24 AM, Andrii Nakryiko wrote:
> On Sat, Jul 27, 2019 at 10:00 AM Alexei Starovoitov wrote:
>>
>> On 7/26/19 11:25 PM, Andrii Nakryiko wrote:
> + } else if (class == BPF_ST && BPF_MODE(insn->code) == BPF_MEM) {
> + if (insn->imm != orig_off)
> +
On Sat, Jul 27, 2019 at 11:59 AM Song Liu wrote:
>
>
>
> > On Jul 26, 2019, at 11:11 PM, Andrii Nakryiko
> > wrote:
> >
> > On Thu, Jul 25, 2019 at 12:32 PM Song Liu wrote:
> >>
> >>
> >>
> >>> On Jul 24, 2019, at 12:27 PM, Andrii Nakryiko wrote:
> >>>
> >>> This patch implements the core logi
> On Jul 26, 2019, at 11:11 PM, Andrii Nakryiko
> wrote:
>
> On Thu, Jul 25, 2019 at 12:32 PM Song Liu wrote:
>>
>>
>>
>>> On Jul 24, 2019, at 12:27 PM, Andrii Nakryiko wrote:
>>>
>>> This patch implements the core logic for BPF CO-RE offsets relocations.
>>> All the details are describ
On Sat, Jul 27, 2019 at 10:00 AM Alexei Starovoitov wrote:
>
> On 7/26/19 11:25 PM, Andrii Nakryiko wrote:
> >>> + } else if (class == BPF_ST && BPF_MODE(insn->code) == BPF_MEM) {
> >>> + if (insn->imm != orig_off)
> >>> + return -EINVAL;
> >>> + ins
On 7/26/19 11:25 PM, Andrii Nakryiko wrote:
>>> + } else if (class == BPF_ST && BPF_MODE(insn->code) == BPF_MEM) {
>>> + if (insn->imm != orig_off)
>>> + return -EINVAL;
>>> + insn->imm = new_off;
>>> + pr_debug("prog '%s': patched insn #%
On Thu, Jul 25, 2019 at 4:18 PM Alexei Starovoitov
wrote:
>
> On Wed, Jul 24, 2019 at 12:27:34PM -0700, Andrii Nakryiko wrote:
> > This patch implements the core logic for BPF CO-RE offsets relocations.
> > All the details are described in code comments.
> >
> > Signed-off-by: Andrii Nakryiko
> >
On Thu, Jul 25, 2019 at 12:32 PM Song Liu wrote:
>
>
>
> > On Jul 24, 2019, at 12:27 PM, Andrii Nakryiko wrote:
> >
> > This patch implements the core logic for BPF CO-RE offsets relocations.
> > All the details are described in code comments.
>
> Some description in the change log is still usefu
On Wed, Jul 24, 2019 at 12:27:34PM -0700, Andrii Nakryiko wrote:
> This patch implements the core logic for BPF CO-RE offsets relocations.
> All the details are described in code comments.
>
> Signed-off-by: Andrii Nakryiko
> ---
> tools/lib/bpf/libbpf.c | 866 +++
> On Jul 24, 2019, at 12:27 PM, Andrii Nakryiko wrote:
>
> This patch implements the core logic for BPF CO-RE offsets relocations.
> All the details are described in code comments.
Some description in the change log is still useful. Please at least
copy-paste key comments here.
And, this i
This patch implements the core logic for BPF CO-RE offsets relocations.
All the details are described in code comments.
Signed-off-by: Andrii Nakryiko
---
tools/lib/bpf/libbpf.c | 866 -
tools/lib/bpf/libbpf.h | 1 +
2 files changed, 861 insertions(+), 6
13 matches
Mail list logo