Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2585557rwd; Sun, 28 May 2023 19:40:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6MoIjCpXa1D1WQ3x+Qcys8oPLJGYp9m1HSjjer5m6lGWI40YV0qPW46roeB53ue0eqz+7n X-Received: by 2002:a17:90a:aa97:b0:255:4c74:187f with SMTP id l23-20020a17090aaa9700b002554c74187fmr8446330pjq.29.1685328025311; Sun, 28 May 2023 19:40:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685328025; cv=none; d=google.com; s=arc-20160816; b=iPN8OhUG3pZSYDbr42474f2QxtXBkc8ZBl8FbTZnVJA2t66Pukedee4Bugus6/UlE5 NmQgUD6qcCoOVjPVmin+rfRxVdRlQVcGn91G4imhuJtKzqBwzJZRsacMeppMbkfEGGfp +gLw7nvgH7V4feUOndpu2kWzQTCNBblgR70n4P4Eo1N1Cb3moXQ4lD1RiEhwFvApW8Yb RIpLyhoaJmTV2inwG+/2ucVnM4Qqr7rMDBr4tWC3KS7gNseLK5jV0qpJ8TI13ZnRLruQ Tc3Qf4rVjfLPM/KU/P6uXPM3+5AC51LSaZKUKEIY4CGaEJ0lqAQDqEW6QOaT3puC6uqA Lllw== 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=Pvwol2EoqavQ8Z0Unq65Wc2oIkc7E9XUrglfwqiJFT8=; b=zuGdT7NTISfZt2u6WNiRIg+dS7A361JwtwZ5nTuseSRmtwbusApfhEyG62pLOe+1Pw shGOMx2VBtku5MxTRZZtX3yl2KJFObj4uiNuoTGSYfN4VyDC2gYMDBDSaBjv64n/wzkA oEnscsQBHdJnGf/bE3SAclKqbyudnngk8ypRQop4zN0T4BiL6Em3aeKBP4gt4nNiwlHJ /xcKfd50e0wVk3rUDen7lK0c1zhRK1biikZv1NRw5qUff87e7Way10QnACI/jcbWKjQ5 Q6SMD6csMNUhDSjq0FLQZloRjM/1Opt/Nw9PZbgFxyqRionRC0MsbE6IQdpSO86GdXSZ wwGQ== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ip4-20020a17090b314400b002476baf6b4bsi9626524pjb.149.2023.05.28.19.40.13; Sun, 28 May 2023 19:40:25 -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 S230210AbjE2CXh (ORCPT + 99 others); Sun, 28 May 2023 22:23:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230330AbjE2CXb (ORCPT ); Sun, 28 May 2023 22:23:31 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 46284AD; Sun, 28 May 2023 19:23:29 -0700 (PDT) Received: from loongson.cn (unknown [113.200.148.30]) by gateway (Coremail) with SMTP id _____8AxBvGWDHRkRxkCAA--.5009S3; Mon, 29 May 2023 10:23:18 +0800 (CST) Received: from linux.localdomain (unknown [113.200.148.30]) by localhost.localdomain (Coremail) with SMTP id AQAAf8BxRrWSDHRkNzh+AA--.9081S3; Mon, 29 May 2023 10:23:17 +0800 (CST) From: Tiezhu Yang To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Adrian Hunter Cc: Hans-Peter Nilsson , Alexander Kapshuk , Leo Yan , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, loongarch@lists.linux.dev, loongson-kernel@lists.loongnix.cn Subject: [PATCH v2 1/3] perf arm64: Rename create_table_from_c() to create_sc_table() Date: Mon, 29 May 2023 10:23:12 +0800 Message-Id: <1685326994-11987-2-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1685326994-11987-1-git-send-email-yangtiezhu@loongson.cn> References: <1685326994-11987-1-git-send-email-yangtiezhu@loongson.cn> X-CM-TRANSID: AQAAf8BxRrWSDHRkNzh+AA--.9081S3 X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBjvdXoWruFykWryxAr47JryrWrW8tFb_yoWDuFg_CF WSgw1Du3y5Xr42vF1fGFn8ur92kw4UJ398JwsrWr9rt34SqFWDZryFva4kuF1YyFsYgrnI qrsxWr18AFs8ujkaLaAFLSUrUUUUob8apTn2vfkv8UJUUUU8wcxFpf9Il3svdxBIdaVrn0 xqx4xG64xvF2IEw4CE5I8CrVC2j2Jv73VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUY C7kC6x804xWl14x267AKxVWUJVW8JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3w AFIxvE14AKwVWUXVWUAwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK 6xIIjxv20xvE14v26F1j6w1UM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r4j6F4UM28EF7 xvwVC2z280aVAFwI0_Gr1j6F4UJwA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_Gr1j6F4UJwAa w2AFwI0_Jw0_GFyle2I262IYc4CY6c8Ij28IcVAaY2xG8wAqjxCEc2xF0cIa020Ex4CE44 I27wAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jw0_WrylYx0Ex4A2 jsIE14v26r4j6F4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwCY1x0262 kKe7AKxVWUtVW8ZwCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwCFI7km 07C267AKxVWUtVW8ZwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r 1rMI8E67AF67kF1VAFwI0_GFv_WrylIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVW5 JVW7JwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1lIxAIcVCF04k26cxKx2IYs7xG6r 1j6r1xMIIF0xvEx4A2jsIE14v26r4j6F4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1U YxBIdaVFxhVjvjDU0xZFpf9x07jTq2NUUUUU= 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: X-Mailing-List: linux-kernel@vger.kernel.org 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 Signed-off-by: Tiezhu Yang --- 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 22cdf91..e530587 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 *syscalltbl_arm64[] = {" - create_table_from_c + create_sc_table echo "};" } -- 2.1.0