selftests/bpf: Add a test to confirm PT_REGS_PARM4_SYSCALL

Add a selftest to verify the behavior of PT_REGS_xxx
and the CORE variant.

Signed-off-by: Kenta Tada <Kenta.Tada@sony.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220124141622.4378-4-Kenta.Tada@sony.com
This commit is contained in:
Kenta Tada 2022-01-24 23:16:22 +09:00 • committed by Andrii Nakryiko
commit 77fc0330df
2 changed files with 119 additions and 0 deletions