diff options
| author | 2019-11-17 09:28:06 -0800 | |
|---|---|---|
| committer | 2019-11-18 11:42:00 +0100 | |
| commit | 5051b384523be92925d13694fabbc6bedf2f907b (patch) | |
| tree | 50748951dae082f17a9919dce69ccd78962487bb /include/linux/debugobjects.h | |
| parent | libbpf: Make global data internal arrays mmap()-able, if possible (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 <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20191117172806.2195367-6-andriin@fb.com
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
