perf LoongArch: Simplify mksyscalltbl
authorTiezhu Yang <yangtiezhu@loongson.cn>
Tue, 30 May 2023 10:10:01 +0000 (18:10 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 5 Jun 2023 14:43:17 +0000 (11:43 -0300)
commit269f49f9cb1e94732ec1738d0b1af4653cadd2f5
treee19d1f48d1daecfe601e5fcca061d1cbd22f5d77
parent250e30badf11001a1015ca51a9d9cba2cf34fb97
perf LoongArch: Simplify mksyscalltbl

In order to print the numerical entries of the syscall table,
there is no need to call the host compiler to build and then
run a program, this can be done directly by the shell script.

This is similar with commit 9854e7ad35fe ("perf arm64: Simplify
mksyscalltbl"). For now, the mksyscalltbl file of LoongArch is
almost same with arm64.

Reviewed-by: Huacai Chen <chenhuacai@loongson.cn>
Reviewed-by: Leo Yan <leo.yan@linaro.org>
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: loongarch@lists.linux.dev
Link: https://lore.kernel.org/r/1685441401-8709-6-git-send-email-yangtiezhu@loongson.cn
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/loongarch/entry/syscalls/mksyscalltbl