diff options
author | Andrii Nakryiko <[email protected]> | 2019-11-17 09:28:06 -0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2019-11-18 11:42:00 +0100 |
commit | 5051b384523be92925d13694fabbc6bedf2f907b (patch) | |
tree | 50748951dae082f17a9919dce69ccd78962487bb /scripts/gdb/linux/tasks.py | |
parent | 7fe74b436236b17ac57e46527166d22bcc230175 (diff) |
selftests/bpf: Add BPF_TYPE_MAP_ARRAY mmap() tests
Add selftests validating mmap()-ing BPF array maps: both single-element and
multi-element ones. Check that plain bpf_map_update_elem() and
bpf_map_lookup_elem() work correctly with memory-mapped array. Also convert
CO-RE relocation tests to use memory-mapped views of global data.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions