summaryrefslogtreecommitdiff
path: root/tools/include
diff options
context:
space:
mode:
authorEmil Tsalapatis <emil@etsalapatis.com>2025-12-16 12:33:25 -0500
committerAndrii Nakryiko <andrii@kernel.org>2025-12-16 10:42:55 -0800
commit19f12431b6c339416e656c794a26ff0ebb2dba56 (patch)
tree8fc1111e46e66d1eb7ffbab9c4c0641426aea3db /tools/include
parentc1f61171d44b19834cf24def2cf832f2688e83df (diff)
selftests/bpf: Add tests for the arena offset of globals
Add tests for the new libbpf globals arena offset logic. The tests cover the case of globals being as large as the arena itself, and being smaller than the arena. In that case, the data is placed at the end of the arena, and the beginning of the arena is free. Signed-off-by: Emil Tsalapatis <emil@etsalapatis.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20251216173325.98465-6-emil@etsalapatis.com
Diffstat (limited to 'tools/include')
0 files changed, 0 insertions, 0 deletions