perf tools arm: Support syscall headers
authorCharlie Jenkins <charlie@rivosinc.com>
Thu, 9 Jan 2025 02:36:19 +0000 (18:36 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 9 Jan 2025 15:51:30 +0000 (12:51 -0300)
commit9605665a64a7d5deadf9d7fa31c5cc058ffa4590
tree34a25237dde3d247480aef764571b47c90af7622
parentc68825eed9ba84c82d3673f776bb83f570b3ccba
perf tools arm: Support syscall headers

arm uses a syscall table, use that in perf instead of requiring
libaudit.

Signed-off-by: Charlie Jenkins <charlie@rivosinc.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Christian Brauner <brauner@kernel.org>
Cc: Guo Ren <guoren@kernel.org>
Cc: Günther Noack <gnoack@google.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: James Clark <james.clark@linaro.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: John Garry <john.g.garry@oracle.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Leo Yan <leo.yan@linux.dev>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mickaël Salaün <mic@digikod.net>
Cc: Mike Leach <mike.leach@linaro.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Paul Walmsley <paul.walmsley@sifive.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20250108-perf_syscalltbl-v6-4-7543b5293098@rivosinc.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.perf
tools/perf/arch/arm/entry/syscalls/Kbuild [new file with mode: 0644]
tools/perf/arch/arm/entry/syscalls/Makefile.syscalls [new file with mode: 0644]
tools/perf/arch/arm/entry/syscalls/syscall.tbl [new file with mode: 0644]
tools/perf/arch/arm/include/syscall_table.h [new file with mode: 0644]
tools/perf/check-headers.sh