diff options
| author | Andrii Nakryiko <[email protected]> | 2019-11-17 09:28:05 -0800 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2019-11-18 11:41:59 +0100 |
| commit | 7fe74b436236b17ac57e46527166d22bcc230175 (patch) | |
| tree | 7caa1d7e4c28ee1b925410be13da037eaee7d902 /tools/perf/scripts/python/bin | |
| parent | fc9702273e2edb90400a34b3be76f7b08fa3344b (diff) | |
libbpf: Make global data internal arrays mmap()-able, if possible
Add detection of BPF_F_MMAPABLE flag support for arrays and add it as an extra
flag to internal global data maps, if supported by kernel. This allows users
to memory-map global data and use it without BPF map operations, greatly
simplifying user experience.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Song Liu <[email protected]>
Acked-by: John Fastabend <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions