perf build: Remove Makefile.syscalls
authorIan Rogers <irogers@google.com>
Wed, 19 Mar 2025 05:07:37 +0000 (22:07 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Fri, 21 Mar 2025 05:58:20 +0000 (22:58 -0700)
commit16ab5c708d9980464a0e034f6eccdece8cbe2dae
tree728731645e115acaa3df45b7689da6699f346b3d
parent1470eaa574870da3f78942927b15e0b75da3ffbe
perf build: Remove Makefile.syscalls

Now a single beauty file is generated and used by all architectures,
remove the per-architecture Makefiles, Kbuild files and previous
generator script.

Note: there was conversation with Charlie Jenkins
<charlie@rivosinc.com> and they'd written an alternate approach to
support multiple architectures:
https://lore.kernel.org/all/20250114-perf_syscall_arch_runtime-v1-1-5b304e408e11@rivosinc.com/
It would have been better to have helped Charlie fix their series (my
apologies) but they agreed that the approach taken here was likely
best for longer term maintainability:
https://lore.kernel.org/lkml/Z6Jk_UN9i69QGqUj@ghost/

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-11-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
33 files changed:
tools/perf/Makefile.perf
tools/perf/arch/alpha/entry/syscalls/Kbuild [deleted file]
tools/perf/arch/alpha/entry/syscalls/Makefile.syscalls [deleted file]
tools/perf/arch/arc/entry/syscalls/Kbuild [deleted file]
tools/perf/arch/arc/entry/syscalls/Makefile.syscalls [deleted file]
tools/perf/arch/arm/entry/syscalls/Kbuild [deleted file]
tools/perf/arch/arm/entry/syscalls/Makefile.syscalls [deleted file]
tools/perf/arch/arm64/entry/syscalls/Kbuild [deleted file]
tools/perf/arch/arm64/entry/syscalls/Makefile.syscalls [deleted file]
tools/perf/arch/csky/entry/syscalls/Kbuild [deleted file]
tools/perf/arch/csky/entry/syscalls/Makefile.syscalls [deleted file]
tools/perf/arch/loongarch/entry/syscalls/Kbuild [deleted file]
tools/perf/arch/loongarch/entry/syscalls/Makefile.syscalls [deleted file]
tools/perf/arch/mips/entry/syscalls/Kbuild [deleted file]
tools/perf/arch/mips/entry/syscalls/Makefile.syscalls [deleted file]
tools/perf/arch/parisc/entry/syscalls/Kbuild [deleted file]
tools/perf/arch/parisc/entry/syscalls/Makefile.syscalls [deleted file]
tools/perf/arch/powerpc/entry/syscalls/Kbuild [deleted file]
tools/perf/arch/powerpc/entry/syscalls/Makefile.syscalls [deleted file]
tools/perf/arch/riscv/entry/syscalls/Kbuild [deleted file]
tools/perf/arch/riscv/entry/syscalls/Makefile.syscalls [deleted file]
tools/perf/arch/s390/entry/syscalls/Kbuild [deleted file]
tools/perf/arch/s390/entry/syscalls/Makefile.syscalls [deleted file]
tools/perf/arch/sh/entry/syscalls/Kbuild [deleted file]
tools/perf/arch/sh/entry/syscalls/Makefile.syscalls [deleted file]
tools/perf/arch/sparc/entry/syscalls/Kbuild [deleted file]
tools/perf/arch/sparc/entry/syscalls/Makefile.syscalls [deleted file]
tools/perf/arch/x86/entry/syscalls/Kbuild [deleted file]
tools/perf/arch/x86/entry/syscalls/Makefile.syscalls [deleted file]
tools/perf/arch/xtensa/entry/syscalls/Kbuild [deleted file]
tools/perf/arch/xtensa/entry/syscalls/Makefile.syscalls [deleted file]
tools/perf/scripts/Makefile.syscalls [deleted file]
tools/perf/scripts/syscalltbl.sh [deleted file]