diff options
| author | Andrii Nakryiko <[email protected]> | 2019-12-13 17:47:09 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2019-12-15 16:41:12 -0800 |
| commit | 2ad97d473db57ab866f0756806bb94515f7f2551 (patch) | |
| tree | 6823aff4884341d6aa088f33cc1504375a6d2504 /tools/perf/scripts/python/compaction-times.py | |
| parent | 166750bc1dd256b2184b22588fb9fe6d3fbb93ae (diff) | |
bpftool: Generate externs datasec in BPF skeleton
Add support for generation of mmap()-ed read-only view of libbpf-provided
extern variables. As externs are not supposed to be provided by user code
(that's what .data, .bss, and .rodata is for), don't mmap() it initially. Only
after skeleton load is performed, map .extern contents as read-only memory.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions