Commit 0d0db476 authored by Tiezhu Yang's avatar Tiezhu Yang Committed by Arnaldo Carvalho de Melo

perf arm64: Rename create_table_from_c() to create_sc_table()

After commit 9854e7ad ("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: default avatarLeo Yan <leo.yan@linaro.org>
Reviewed-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
Signed-off-by: default avatarTiezhu Yang <yangtiezhu@loongson.cn>
Acked-by: default avatarIan 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.cnSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 49f3806d
...@@ -19,7 +19,7 @@ if ! test -r $input; then ...@@ -19,7 +19,7 @@ if ! test -r $input; then
exit 1 exit 1
fi fi
create_table_from_c() create_sc_table()
{ {
local sc nr last_sc local sc nr last_sc
...@@ -35,7 +35,7 @@ create_table() ...@@ -35,7 +35,7 @@ create_table()
{ {
echo "#include \"$input\"" echo "#include \"$input\""
echo "static const char *const syscalltbl_arm64[] = {" echo "static const char *const syscalltbl_arm64[] = {"
create_table_from_c create_sc_table
echo "};" echo "};"
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment