perf arm64: Rename create_table_from_c() to create_sc_table()
authorTiezhu Yang <yangtiezhu@loongson.cn>
Tue, 30 May 2023 10:09:58 +0000 (18:09 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 5 Jun 2023 14:36:38 +0000 (11:36 -0300)
After commit 9854e7ad35fecf30 ("perf arm64: Simplify mksyscalltbl") it
has been removed the temporary C program and used shell to generate
syscall table, so let us rename create_table_from_c() to
create_sc_table() to avoid confusion.

Suggested-by: Leo Yan <leo.yan@linaro.org>
Reviewed-by: Huacai Chen <chenhuacai@loongson.cn>
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-3-git-send-email-yangtiezhu@loongson.cn
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/arm64/entry/syscalls/mksyscalltbl

index 4edcdf6..84976dc 100755 (executable)
@@ -19,7 +19,7 @@ if ! test -r $input; then
        exit 1
 fi
 
-create_table_from_c()
+create_sc_table()
 {
        local sc nr last_sc
 
@@ -35,7 +35,7 @@ create_table()
 {
        echo "#include \"$input\""
        echo "static const char *const syscalltbl_arm64[] = {"
-       create_table_from_c
+       create_sc_table
        echo "};"
 }