diff options
| author | Song Liu <[email protected]> | 2024-07-22 22:14:55 -0700 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2024-07-29 15:05:04 -0700 |
| commit | c7db4873fbd63918c124a5d67182492c78ba705b (patch) | |
| tree | ec9505fd0f3b14d1911e9708af3120c49e7913d3 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 1edf364a8af49390ae8f81595625a189a08b9be3 (diff) | |
selftests/bpf: Add a test for mmap-able map in map
Regular BPF hash map is not mmap-able from user space. However, map-in-map
with outer map of type BPF_MAP_TYPE_HASH_OF_MAPS and mmap-able array as
inner map can perform similar operations as a mmap-able hash map. This
can be used by applications that benefit from fast accesses to some local
data.
Add a selftest to show this use case.
Signed-off-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin KaFai Lau <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions