summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorYonghong Song <yonghong.song@linux.dev>2025-06-06 18:36:21 -0700
committerAlexei Starovoitov <ast@kernel.org>2025-06-06 19:21:43 -0700
commit8c8c5e3c854a2593ec90dacd868f3066b67de1c4 (patch)
treeae0b404b024f20fbf44a123d821c61de839b2353 /scripts/gdb/linux/utils.py
parent377d3715900c1f465a5ea8a6a11bcbdc42b18668 (diff)
selftests/bpf: Fix ringbuf/ringbuf_write test failure with arm64 64KB page size
The ringbuf max_entries must be PAGE_ALIGNED. See kernel function ringbuf_map_alloc(). So for arm64 64KB page size, adjust max_entries and other related metrics properly. Signed-off-by: Yonghong Song <yonghong.song@linux.dev> Link: https://lore.kernel.org/r/20250607013621.1552332-1-yonghong.song@linux.dev Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions