perf tools: Generate mips syscalls_n64.c syscall table
authorTiezhu Yang <yangtiezhu@loongson.cn>
Thu, 4 Feb 2021 03:35:24 +0000 (11:35 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 1 Mar 2021 17:49:28 +0000 (14:49 -0300)
commitd9fd5a718977702f2fd112a081b62572e39f24db
treef37848eaef922e0b0278281731f4a43952d53ad7
parentb5f184fbdb03b4fcc1141de34dd5ec964ca5d99e
perf tools: Generate mips syscalls_n64.c syscall table

Grab a copy of arch/mips/kernel/syscalls/syscall_n64.tbl and use it to
generate tools/perf/arch/mips/include/generated/asm/syscalls_n64.c file,
this is similar with commit 1b700c997500 ("perf tools: Build syscall
table .c header from kernel's syscall_64.tbl")

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Juxin Gao <gaojuxin@loongson.cn>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Xuefeng Li <lixuefeng@loongson.cn>
Cc: linux-mips@vger.kernel.org
Link: http://lore.kernel.org/lkml/1612409724-3516-4-git-send-email-yangtiezhu@loongson.cn
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.config
tools/perf/arch/mips/Makefile
tools/perf/arch/mips/entry/syscalls/mksyscalltbl [new file with mode: 0644]
tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl [new file with mode: 0644]
tools/perf/check-headers.sh
tools/perf/util/syscalltbl.c