On Wed, Aug 18, 2021 at 4:43 PM Daniel Xu <dxu@xxxxxxxxx> 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@xxxxxxxxx> > --- 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 > [...]