diff options
author | Andrii Nakryiko <andriin@fb.com> | 2019-11-17 09:28:06 -0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-11-18 11:42:00 +0100 |
commit | 5051b384523be92925d13694fabbc6bedf2f907b (patch) | |
tree | 50748951dae082f17a9919dce69ccd78962487bb /tools/perf/scripts/python/export-to-postgresql.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 <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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions