| 1 | /* This file excercises the ELF loader. It is not a valid BPF program. */ |
| 2 | |
| 3 | #include "common.h" |
| 4 | |
| 5 | struct { |
| 6 | __uint(type, BPF_MAP_TYPE_ARENA); |
| 7 | __uint(map_flags, BPF_F_MMAPABLE); |
| 8 | __uint(max_entries, 100); /* number of pages */ |
| 9 | __ulong(map_extra, 0x1ull << 44); /* start of mmap region */ |
| 10 | } arena __section(".maps"); |