diff options
| author | Johan Almbladh <johan.almbladh@anyfinetworks.com> | 2021-10-01 15:03:39 +0200 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2021-10-01 17:04:25 +0200 |
| commit | caaaa1667bf198c54cc3141ad92ca6ce853e99cd (patch) | |
| tree | 2659170370cdcb9036b4f151f5980569e897015e /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | bpf, xdp, docs: Correct some English grammar and spelling (diff) | |
| download | linux-caaaa1667bf198c54cc3141ad92ca6ce853e99cd.tar.gz linux-caaaa1667bf198c54cc3141ad92ca6ce853e99cd.zip | |
bpf/tests: Add tests of BPF_LDX and BPF_STX with small sizes
This patch adds a series of tests to verify the behavior of BPF_LDX and
BPF_STX with BPF_B//W sizes in isolation. In particular, it checks that
BPF_LDX zero-extendeds the result, and that BPF_STX does not overwrite
adjacent bytes in memory.
BPF_ST and operations on BPF_DW size are deemed to be sufficiently
tested by existing tests.
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-2-johan.almbladh@anyfinetworks.com
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
