diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2023-01-20 12:09:00 -0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2023-01-23 20:53:00 +0100 |
commit | bc72742bebec8e0766af1e07e13169a873f9119c (patch) | |
tree | 027818ac31cd6e04710828bbcafb29c8259e9c39 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ac4afd6e6fa4d4f9a0ab6ca76f4953545e4da7e6 (diff) |
selftests/bpf: Validate arch-specific argument registers limits
Update uprobe_autoattach selftest to validate architecture-specific
argument passing through registers. Use new BPF_UPROBE and
BPF_URETPROBE, and construct both BPF-side and user-space side in such
a way that for different architectures we are fetching and checking
different number of arguments, matching architecture-specific limit of
how many registers are available for argument passing.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Tested-by: Alan Maguire <alan.maguire@oracle.com> # arm64
Tested-by: Ilya Leoshkevich <iii@linux.ibm.com> # s390x
Link: https://lore.kernel.org/bpf/20230120200914.3008030-12-andrii@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions