[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEf4BzYAVhSAERpm7bSuFj1M6LLUWyA=T6fuVY3kbJiGMtr=gg@mail.gmail.com>
Date: Tue, 28 Sep 2021 16:10:25 -0700
From: Andrii Nakryiko <andrii.nakryiko@...il.com>
To: Hou Tao <houtao1@...wei.com>
Cc: Alexei Starovoitov <ast@...nel.org>, Yonghong Song <yhs@...com>,
Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andrii@...nel.org>,
Martin KaFai Lau <kafai@...com>,
Networking <netdev@...r.kernel.org>, bpf <bpf@...r.kernel.org>
Subject: Re: [PATCH bpf-next v3 3/3] bpf/selftests: add test for writable bare tracepoint
On Tue, Sep 28, 2021 at 6:53 AM Hou Tao <houtao1@...wei.com> wrote:
>
> Add a writable bare tracepoint in bpf_testmod module, and
> trigger its calling when reading /sys/kernel/bpf_testmod
> with a specific buffer length. The reading will return
> the value in writable context if the early return flag
> is enabled in writable context.
>
> Signed-off-by: Hou Tao <houtao1@...wei.com>
> ---
LGTM.
Acked-by: Andrii Nakryiko <andrii@...nel.org>
> .../bpf/bpf_testmod/bpf_testmod-events.h | 15 ++++++++
> .../selftests/bpf/bpf_testmod/bpf_testmod.c | 10 ++++++
> .../selftests/bpf/bpf_testmod/bpf_testmod.h | 5 +++
> .../selftests/bpf/prog_tests/module_attach.c | 35 +++++++++++++++++++
> .../selftests/bpf/progs/test_module_attach.c | 14 ++++++++
> tools/testing/selftests/bpf/test_progs.c | 4 +--
> tools/testing/selftests/bpf/test_progs.h | 2 ++
> 7 files changed, 83 insertions(+), 2 deletions(-)
>
[...]
Powered by blists - more mailing lists