[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEf4BzYgZ3PTNhZfEfKiZOeQOk143ze9Ef+01WbfcSm3NOgdwQ@mail.gmail.com>
Date: Thu, 19 Aug 2021 13:28:43 -0700
From: Andrii Nakryiko <andrii.nakryiko@...il.com>
To: Daniel Xu <dxu@...uu.xyz>
Cc: bpf <bpf@...r.kernel.org>, Yonghong Song <yhs@...com>,
Andrii Nakryiko <andriin@...com>,
Kernel Team <kernel-team@...com>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH bpf-next 2/2] bpf: selftests: Add bpf_task_pt_regs() selftest
On Wed, Aug 18, 2021 at 4:43 PM Daniel Xu <dxu@...uu.xyz> wrote:
>
> This test retrieves the uprobe's pt_regs in two different ways and
> compares the contents in an arch-agnostic way.
>
> Signed-off-by: Daniel Xu <dxu@...uu.xyz>
> ---
Please use ASSERT_xxx() macros for new tests.
> .../selftests/bpf/prog_tests/task_pt_regs.c | 50 +++++++++++++++++++
> .../selftests/bpf/progs/test_task_pt_regs.c | 29 +++++++++++
> 2 files changed, 79 insertions(+)
> create mode 100644 tools/testing/selftests/bpf/prog_tests/task_pt_regs.c
> create mode 100644 tools/testing/selftests/bpf/progs/test_task_pt_regs.c
>
[...]
Powered by blists - more mailing lists