diff options
| author | Johan Almbladh <johan.almbladh@anyfinetworks.com> | 2021-10-01 15:03:40 +0200 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2021-10-01 17:04:25 +0200 |
| commit | 89b63462765cc0370f22ebec53d3e83cbbb17613 (patch) | |
| tree | 168d3364a90e9c833d9da6e6c442f1d88d9dc99c /tools/perf/scripts/python | |
| parent | bpf/tests: Add tests of BPF_LDX and BPF_STX with small sizes (diff) | |
| download | linux-89b63462765cc0370f22ebec53d3e83cbbb17613.tar.gz linux-89b63462765cc0370f22ebec53d3e83cbbb17613.zip | |
bpf/tests: Add zero-extension checks in BPF_ATOMIC tests
This patch updates the existing tests of BPF_ATOMIC operations to verify
that a 32-bit register operand is properly zero-extended. In particular,
it checks the operation on archs that require 32-bit operands to be
properly zero-/sign-extended or the result is undefined, e.g. MIPS64.
Signed-off-by: Johan Almbladh <johan.almbladh@anyfinetworks.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20211001130348.3670534-3-johan.almbladh@anyfinetworks.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
