]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf trace: Reorganize syscalls
authorIan Rogers <irogers@google.com>
Wed, 19 Mar 2025 05:07:31 +0000 (22:07 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Fri, 21 Mar 2025 05:57:53 +0000 (22:57 -0700)
commit3d94b8441c1c4faca8c9f6aaa04d6d886b6e08c6
tree8011ce51dafac02e057040376f79f63953094f09
parentaf472d3c4454c720300c2e0c4e87c8a7ca2a3012
perf trace: Reorganize syscalls

Identify struct syscall information in the syscalls table by a machine
type and syscall number, not just system call number. Having the
machine type means that 32-bit system calls can be differentiated from
64-bit ones on a machine capable of both. Having a table for all
machine types and all system call numbers would be too large, so
maintain a sorted array of system calls as they are encountered.

Signed-off-by: Ian Rogers <irogers@google.com>
Reviewed-by: Howard Chu <howardchu95@gmail.com>
Reviewed-by: Charlie Jenkins <charlie@rivosinc.com>
Reviewed-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Arnaldo Carvalho de Melo <acme@kernel.org>
Link: https://lore.kernel.org/r/20250319050741.269828-5-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/builtin-trace.c