summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2025-05-19 16:25:39 -0700
committerNamhyung Kim <namhyung@kernel.org>2025-10-31 12:29:44 -0700
commit915c31f0e69255897225d244e04374082d36de7f (patch)
tree2375600da2d7081c391ca56b6da8619a8381cce8 /tools/perf/scripts/python/bin
parent0d1e63183d5ce63f7a57a99cbee1018f2a72d202 (diff)
downloadlinux-915c31f0e69255897225d244e04374082d36de7f.tar.gz
linux-915c31f0e69255897225d244e04374082d36de7f.zip
perf trace: Increase syscall handler map size to 1024
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. Let's increase the map size to 1024 so that it can handle those ABIs too. While most systems won't need this, increasing the size will be safer for potential future changes. Reviewed-by: Howard Chu <howardchu95@gmail.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions