Re: [PATCH] perf trace: Increase syscall handler map size to 1024
From: Namhyung Kim
Date: Mon Nov 03 2025 - 12:55:06 EST
On Mon, 19 May 2025 16:25:39 -0700, Namhyung Kim wrote:
> The syscalls_sys_{enter,exit} map in augmented_raw_syscalls.bpf.c has
> max entries of 512. Usually syscall numbers are smaller than this but
> x86 has x32 ABI where syscalls start from 512.
>
> That makes trace__init_syscalls_bpf_prog_array_maps() fail in the middle
> of the loop when it accesses those keys. As the loop iteration is not
> ordered by syscall numbers anymore, the failure can affect non-x32
> syscalls.
>
> [...]
Applied to perf-tools-next, thanks!
Best regards,
Namhyung