Message ID | 1685440265-7021-3-git-send-email-yangtiezhu@loongson.cn |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2067587vqr; Tue, 30 May 2023 03:10:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4cYwe2gy7j2OCD/E+NWs3xu1jmcPpPhXCfk0rsT9rqoc0JXuMrdhc1VPVoLPMgSstSf9yw X-Received: by 2002:a17:903:11c6:b0:1ae:8595:153 with SMTP id q6-20020a17090311c600b001ae85950153mr2041052plh.20.1685441434311; Tue, 30 May 2023 03:10:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685441434; cv=none; d=google.com; s=arc-20160816; b=QnpzXVww3ZbATLIwDw5XL1+40aR1yypa2GuvqjbaKjSLDj4W9rP4ww4Un/tSXHeHE6 oDur5msbOJFW7rch8Yfpz37pL2PsKdD0czRg6e4sszzc25bzsXdVNXwjvAbMalfkI6oA T5mXMnLJ7gLRibrVLwvmg7cd+d0ZqOP6P3xmZ+OQfZOb3EB95eUp+Qdwgd1rdjaYrC7r 3VIqNYNnDxcyyypTrJFeI8lC6+VyXoCsklt77WnseXhz/R1zxUgffY8M9PmkIs/GUPHq o8ZEFe076+lR506l2KMeCe/Ezk1zxoSzJZNGTFwRZ92MfV5EDNBcEtsSRsVET1GS8sej bBAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=cP6+63iqMrse+1VqR0Mrck5Lp21NfLweyAEBpukEV94=; b=KOTyBLv5E8IAkAZ0h0g3vbZyD43zzTJgEt0eVUCeeB2csNGWxOfTQrtS0dEyMgFCAr cgCs6gNj3/XqXADpYuUlHczeRsWChat8hbgG5JdJCQ6VGYOUPwGzoh4odRXXbbgWmtXG gIjXKXnNMR+3OKV2d9pOECxXFT+nZFgU4ZFbSz4JXqFpXXnTJ37WiARBUYnrFn7U3Ehr p8DVOptGJdljWz6rwxaqVmWVWk9SoUNAz9TCuMIif8G6MJwwJAUDmCfo/T+vebqo2UNZ aozUpVd0dVCrMiYjp4Yx9JCO/RiLuxy0guGi+w1HHIF416qCbsPYK+IALRd/zUJQdMsX fu2Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g18-20020a170902869200b001ac83d19265si9441369plo.291.2023.05.30.03.10.18; Tue, 30 May 2023 03:10:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231239AbjE3JvT (ORCPT <rfc822;andrewvogler123@gmail.com> + 99 others); Tue, 30 May 2023 05:51:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231129AbjE3JvN (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 30 May 2023 05:51:13 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 27EE9F7; Tue, 30 May 2023 02:51:09 -0700 (PDT) Received: from loongson.cn (unknown [113.200.148.30]) by gateway (Coremail) with SMTP id _____8Axm+oNx3VkUIQCAA--.1322S3; Tue, 30 May 2023 17:51:09 +0800 (CST) Received: from linux.localdomain (unknown [113.200.148.30]) by localhost.localdomain (Coremail) with SMTP id AQAAf8BxWdIJx3VkkmSAAA--.12317S4; Tue, 30 May 2023 17:51:08 +0800 (CST) From: Tiezhu Yang <yangtiezhu@loongson.cn> To: Peter Zijlstra <peterz@infradead.org>, Ingo Molnar <mingo@redhat.com>, Arnaldo Carvalho de Melo <acme@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Alexander Shishkin <alexander.shishkin@linux.intel.com>, Jiri Olsa <jolsa@kernel.org>, Namhyung Kim <namhyung@kernel.org>, Ian Rogers <irogers@google.com>, Adrian Hunter <adrian.hunter@intel.com> Cc: Hans-Peter Nilsson <hp@axis.com>, Alexander Kapshuk <alexander.kapshuk@gmail.com>, Leo Yan <leo.yan@linaro.org>, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, loongarch@lists.linux.dev, loongson-kernel@lists.loongnix.cn Subject: [PATCH v3 2/5] perf arm64: Rename create_table_from_c() to create_sc_table() Date: Tue, 30 May 2023 17:51:02 +0800 Message-Id: <1685440265-7021-3-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1685440265-7021-1-git-send-email-yangtiezhu@loongson.cn> References: <1685440265-7021-1-git-send-email-yangtiezhu@loongson.cn> X-CM-TRANSID: AQAAf8BxWdIJx3VkkmSAAA--.12317S4 X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBjvdXoWruFykWryxAr47JryrWrW8tFb_yoWDtrc_CF WSqw1Du3y5XrsFvF1fGFn8ur92kw4UXws8AwsFgr9rt34SqFWDZryFva4kuF1YyFsYgrnI qrs8Xr18AFs8ujkaLaAFLSUrUUUUob8apTn2vfkv8UJUUUU8wcxFpf9Il3svdxBIdaVrn0 xqx4xG64xvF2IEw4CE5I8CrVC2j2Jv73VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUY X7kC6x804xWl14x267AKxVWUJVW8JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3w AFIxvE14AKwVWUAVWUZwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK 6xIIjxv20xvE14v26ryj6F1UM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r4j6F4UM28EF7 xvwVC2z280aVAFwI0_Cr1j6rxdM28EF7xvwVC2z280aVCY1x0267AKxVW0oVCq3wAaw2AF wI0_Jw0_GFyle2I262IYc4CY6c8Ij28IcVAaY2xG8wAqjxCEc2xF0cIa020Ex4CE44I27w Aqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Wrv_ZF1lYx0Ex4A2jsIE 14v26r4j6F4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwCY1x0262kKe7 AKxVWUtVW8ZwCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwCFI7km07C2 67AKxVWUtVW8ZwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI 8E67AF67kF1VAFwI0_GFv_WrylIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVW5JVW7 JwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r 1xMIIF0xvEx4A2jsIE14v26r4j6F4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBI daVFxhVjvjDU0xZFpf9x07jP_-9UUUUU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767313437234583233?= X-GMAIL-MSGID: =?utf-8?q?1767313437234583233?= |
Series |
perf tools: Modify mksyscalltbl
|
|
Commit Message
Tiezhu Yang
May 30, 2023, 9:51 a.m. UTC
After commit 9854e7ad35fe ("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>
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
---
tools/perf/arch/arm64/entry/syscalls/mksyscalltbl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/perf/arch/arm64/entry/syscalls/mksyscalltbl b/tools/perf/arch/arm64/entry/syscalls/mksyscalltbl index 4edcdf6..84976dc 100755 --- a/tools/perf/arch/arm64/entry/syscalls/mksyscalltbl +++ b/tools/perf/arch/arm64/entry/syscalls/mksyscalltbl @@ -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 "};" }