Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2091716rwd; Fri, 19 May 2023 00:24:11 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6FiHbEUzvtYK2pTIYPjxQErzVpplkDh89WGpo3sjfJ5YVC7KGr5PNAd/7kVrlW03Xanlce X-Received: by 2002:a17:903:1d1:b0:1ad:bccc:af77 with SMTP id e17-20020a17090301d100b001adbcccaf77mr6470837plh.18.1684481050796; Fri, 19 May 2023 00:24:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684481050; cv=none; d=google.com; s=arc-20160816; b=Y3uWvaaardfvc+twRIbb5vNyp4V2KMS/RFQkHh81mRyfhsnVlUDOkRJsZ3QcDqcE3y BUb6y7MFp7F6o1K22tWwdMRm/m+ZCG3VrvNqE3eYLzFhkbb4mARkLG0Finy/jNXcRDTR FsZ6IzxDVmeSsxqhMwdbLLVpJoH0MVwMhBtLi9dYPTJpK+vPL18NjSO6rtKS+yXCh2T1 dz8XbkZDeahsBYo4OpoPecLrko7CzcdGZYZnRk/vuzkys4yNLf1cl0jztCJQfWWLI6xg avKfmnoDwCgnG25LXt3DEDmDApHEjjCIIPkP5c+S7OynOuF8ae+2lbJhqYxBlX2h4vBe sSiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=BfuNldp14pRQssAxdwVLFngDOiiJkpNPdVccVmpBRqQ=; b=xYHfvVGZk7LQvHIfzhQTzWkXWqYY+kex705TaDA2SPJgAcS95V9f0ZM+4zNM5AiATm 4rtKcRWBMsCmVJuLR+CXP7xwBYl2UlkRTLfjj+vPQ4de/uSl/JDj+s0SmiJZ0K9h+JEK AHDmiwWejSEs8WI2WMr14neC2/pST9QoQ8O9K194QtUdRk7Yq+R7Huqf1khpgSTsEmd/ 7YpRWmVoQikkrHng6qS+/IgM8q9X2bFf0KaC3LOwSVsecfmTKWJK5dy1iaeMlXcnLf6i InervmoVZw3vp7/PbnEa6vvUqKnUw88FGQBzIXCyKp87hZQW3CPzR+T4AHOVnP8zj1k9 XSrw== 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 q1-20020a170902b10100b001ab147e4543si3015840plr.418.2023.05.19.00.23.58; Fri, 19 May 2023 00:24:10 -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 S230149AbjESHR5 (ORCPT + 99 others); Fri, 19 May 2023 03:17:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230192AbjESHRx (ORCPT ); Fri, 19 May 2023 03:17:53 -0400 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2519510EF; Fri, 19 May 2023 00:17:47 -0700 (PDT) Received: from loongson.cn (unknown [113.200.148.30]) by gateway (Coremail) with SMTP id _____8AxNPCaImdkSxkKAA--.17655S3; Fri, 19 May 2023 15:17:46 +0800 (CST) Received: from linux.localdomain (unknown [113.200.148.30]) by localhost.localdomain (Coremail) with SMTP id AQAAf8BxFLGXImdk2IhpAA--.47656S2; Fri, 19 May 2023 15:17:44 +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: Naresh Kamboju , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, loongson-kernel@lists.loongnix.cn Subject: [PATCH] perf bench syscall: Fix __NR_execve undeclared build error Date: Fri, 19 May 2023 15:17:37 +0800 Message-Id: <1684480657-2375-1-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: AQAAf8BxFLGXImdk2IhpAA--.47656S2 X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBjvdXoWrZw4xXrWxurWrXF1rJF18Xwb_yoWkGwb_Za 12qws7Cry8Zr9rtr15Ar4kWF1fua1UWFyvvrnagw43Cr4qqF1UGan5u3s7Jr1qkan2vr4f Ca93Xrn0vw1kKjkaLaAFLSUrUUUUYb8apTn2vfkv8UJUUUU8wcxFpf9Il3svdxBIdaVrn0 xqx4xG64xvF2IEw4CE5I8CrVC2j2Jv73VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUY C7kC6x804xWl14x267AKxVWUJVW8JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3w AFIxvE14AKwVWUXVWUAwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK 6xIIjxv20xvE14v26ryj6F1UM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r4j6F4UM28EF7 xvwVC2z280aVAFwI0_Gr1j6F4UJwA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_Gr1j6F4UJwAa w2AFwI0_Jw0_GFyle2I262IYc4CY6c8Ij28IcVAaY2xG8wAqjxCEc2xF0cIa020Ex4CE44 I27wAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jw0_WrylYx0Ex4A2 jsIE14v26r4j6F4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwCY1x0262 kKe7AKxVWUtVW8ZwCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwCFI7km 07C267AKxVWUtVW8ZwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r 1rMI8E67AF67kF1VAFwI0_Jw0_GFylIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWU CVW8JwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1lIxAIcVCF04k26cxKx2IYs7xG6r 1j6r1xMIIF0xvEx4A2jsIE14v26r4j6F4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1U YxBIdaVFxhVjvjDU0xZFpf9x07jTq2NUUUUU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, 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 The __NR_execve definition for i386 was deleted by mistake in the commit ece7f7c0507c ("perf bench syscall: Add fork syscall benchmark"), add it to fix the build error on i386. Fixes: ece7f7c0507c ("perf bench syscall: Add fork syscall benchmark") Reported-by: Linux Kernel Functional Testing Closes: https://lore.kernel.org/all/CA+G9fYvgBR1iB0CorM8OC4AM_w_tFzyQKHc+rF6qPzJL=TbfDQ@mail.gmail.com/ Tested-by: Naresh Kamboju Signed-off-by: Tiezhu Yang --- tools/arch/x86/include/uapi/asm/unistd_32.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/arch/x86/include/uapi/asm/unistd_32.h b/tools/arch/x86/include/uapi/asm/unistd_32.h index b8ddfc4..bc48a4d 100644 --- a/tools/arch/x86/include/uapi/asm/unistd_32.h +++ b/tools/arch/x86/include/uapi/asm/unistd_32.h @@ -2,6 +2,9 @@ #ifndef __NR_fork #define __NR_fork 2 #endif +#ifndef __NR_execve +#define __NR_execve 11 +#endif #ifndef __NR_getppid #define __NR_getppid 64 #endif -- 2.1.0