diff options
| author | Jiayuan Chen <jiayuan.chen@linux.dev> | 2026-07-17 19:37:04 +0800 |
|---|---|---|
| committer | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2026-07-19 17:56:10 +0200 |
| commit | 29e4bcf12604a8b217d0e3b86cb619f52c3a0a5f (patch) | |
| tree | 32ea071a5307f7fb4ff3070a05df05dd8c234834 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | a14f9ba080c1e9ba18df9385de0d062c827fba56 (diff) | |
selftests/bpf: Add tests for memory usage for arena
Allocate and free arena pages, both from BPF and via user-space fault-in,
and check that the map's memlock in fdinfo tracks the number of pages that
are actually populated.
Like the other arena tests it runs serially.
test:
./test_progs -a arena_mem_usage
#5 arena_mem_usage:OK
Summary: 1/0 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Jiayuan Chen <jiayuan.chen@linux.dev>
Reviewed-by: Emil Tsalapatis <emil@etsalapatis.com>
Link: https://lore.kernel.org/bpf/20260717114117.350851-5-jiayuan.chen@linux.dev
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
