]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
perf tools: Build x86 32-bit syscall table from arch/x86/entry/syscalls/syscall_32.tbl
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 30 Aug 2024 22:53:47 +0000 (19:53 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 2 Sep 2024 14:13:40 +0000 (11:13 -0300)
commit0e7eb23668948585f3f0ea8c6249338f33fde872
tree7995fc680178426cb9543122a2f8e0a28b658b4a
parent39c243411bdb8fb35777adf49ee32549633c4e12
perf tools: Build x86 32-bit syscall table from arch/x86/entry/syscalls/syscall_32.tbl

To remove one more use of the audit libs and address a problem reported
with a recent change where a function isn't available when using the
audit libs method, that should really go away, this being one step in
that direction.

The script used to generate the 64-bit syscall table was already
parametrized to generate for both 64-bit and 32-bit, so just use it and
wire the generated table to the syscalltbl.c routines.

Reported-by: Jiri Slaby <jirislaby@kernel.org>
Suggested-by: Ian Rogers <irogers@google.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Tested-by: Jiri Slaby <jirislaby@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Howard Chu <howardchu95@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/lkml/6fe63fa3-6c63-4b75-ac09-884d26f6fb95@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.config
tools/perf/arch/x86/Makefile
tools/perf/arch/x86/entry/syscalls/syscall_32.tbl [new file with mode: 0644]
tools/perf/check-headers.sh
tools/perf/util/syscalltbl.c