Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3258491rwb; Sat, 3 Dec 2022 01:43:33 -0800 (PST) X-Google-Smtp-Source: AA0mqf4p30bn2Zxlltotaqk1nuEnoZbmlg0jdFikbDhlsWpPouxqEf2elIvh7nvX/nWSB2hewvH5 X-Received: by 2002:a05:6402:2404:b0:467:67e1:ca61 with SMTP id t4-20020a056402240400b0046767e1ca61mr16016094eda.27.1670060612798; Sat, 03 Dec 2022 01:43:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670060612; cv=none; d=google.com; s=arc-20160816; b=IKfxXx3d29dJkqTZM+VIsZNRZXWk8mDKrEN6a581+0/yHoBfseN5ZznfrCPqSdoURs AD2f4psUSzj34POSKdqZ3Bdehi3XswE95KY4ZBuN6IlWWqNNZj2zSVD5irVnK/weV+4T qkKnmNgAyWNqIIU7DdjY+u6w9F3Nmrcc/uwRByqI3t3r6eyVG5PMKnJjcwGG97LXg0vr tj1B984esdZShUJyCOhwLSNf0ET/yTIuh1nHXA9SGoK9By1ae1y+wOCo7DwXaJNusk+S RTw0w8el22TDAu2MsQ0BX1fKDclE0Hw6M+EdlAPdqqhpbwheuguXkZcCqo8ZYkM0DJSh 3Q2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=roddeOctzPHVed77NwhsyFgkeIRH9QLvJiOMah46p2g=; b=X7Mnv25iotR8g5OAsyRNp+LWlt5ydxu5K5rMFe0WLSaBUu5HB9x4d+/LUPst+asQ1Q Qa7DZEOhnx/YaEACwEWym91CWftdlRHkvlwk8F0pPjJClKEZf9F+cxu6gahxneLRDdEA UPwcTc40ImsxWThtS4ZElPrXCEzq2mmuYWmsGAFI3Z3qhi0ctV7E/SI/XmJf6IM/YDE6 Pw+b8ddZvfakkFSvnON0fSGRj/xmvluKElQokkcY66Lk2CaLNpX1pCGX1Wv8mwezoPgF r0j+Cc0ogyVvgQxcx+mXdlD5BPo+nGVaTkvd9+RH2Y8n5lx1iBEQfwtGEiIJT2HdeREH rILg== 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 nb20-20020a1709071c9400b007ae26c753edsi8801245ejc.52.2022.12.03.01.43.12; Sat, 03 Dec 2022 01:43:32 -0800 (PST) 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 S230315AbiLCJTb (ORCPT + 83 others); Sat, 3 Dec 2022 04:19:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230232AbiLCJT3 (ORCPT ); Sat, 3 Dec 2022 04:19:29 -0500 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E391B58034; Sat, 3 Dec 2022 01:19:27 -0800 (PST) Received: from loongson.cn (unknown [113.200.148.30]) by gateway (Coremail) with SMTP id _____8BxE_CeFItjyvUCAA--.7138S3; Sat, 03 Dec 2022 17:19:26 +0800 (CST) Received: from [10.130.0.135] (unknown [113.200.148.30]) by localhost.localdomain (Coremail) with SMTP id AQAAf8BxHuKdFItjcv4kAA--.26306S3; Sat, 03 Dec 2022 17:19:25 +0800 (CST) Subject: Re: [PATCH v5 0/4] perf: Add more syscalls to benchmark To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo References: <1668052208-14047-1-git-send-email-yangtiezhu@loongson.cn> Cc: Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org From: Tiezhu Yang Message-ID: Date: Sat, 3 Dec 2022 17:19:25 +0800 User-Agent: Mozilla/5.0 (X11; Linux mips64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <1668052208-14047-1-git-send-email-yangtiezhu@loongson.cn> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-CM-TRANSID: AQAAf8BxHuKdFItjcv4kAA--.26306S3 X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBjvdXoW7Gr43XFWUKr1DXrWrZFW3trb_yoWxKrg_Ja 4I9rWDGrW8XF9IyFy5Jrn8Za4Iyay7XrykZF97Wry7Kr4DXFyUJFnY9rykCFn0gF4DurZx Ca9xZr93Ar4jkjkaLaAFLSUrUUUU1b8apTn2vfkv8UJUUUU8wcxFpf9Il3svdxBIdaVrn0 xqx4xG64xvF2IEw4CE5I8CrVC2j2Jv73VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUY W7kC6x804xWl14x267AKxVWUJVW8JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3w AFIxvE14AKwVWUGVWUXwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK 6xIIjxv20xvE14v26r1j6r1xM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r1j6r4UM28EF7 xvwVC2z280aVAFwI0_Gr1j6F4UJwA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_Gr1j6F4UJwAa w2AFwI0_Jrv_JF1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqjxCEc2xF0cIa020Ex4CE44 I27wAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jrv_JF1lYx0Ex4A2 jsIE14v26r1j6r4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvEwIxGrwCYjI0SjxkI62 AI1cAE67vIY487MxAIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMxCIbckI 1I0E14v26r1Y6r17MI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_Jr Wlx4CE17CEb7AF67AKxVWUtVW8ZwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r1j 6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20xvaj40_Jr 0_JF4lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVWUJVW8JbIY CTnIWIevJa73UjIFyTuYvjxU2G-eUUUUU X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_PASS,SPF_PASS 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 On 11/10/2022 11:50 AM, Tiezhu Yang wrote: > Tested on x86_64, arm64, mips64 and loongarch64. > > Tiezhu Yang (4): > tools x86: Keep list sorted by number in unistd_{32,64}.h > perf bench syscall: Introduce bench_syscall_common() > perf bench syscall: Add getpgid syscall benchmark > perf bench syscall: Add execve syscall benchmark > > tools/arch/x86/include/uapi/asm/unistd_32.h | 23 ++++++--- > tools/arch/x86/include/uapi/asm/unistd_64.h | 23 ++++++--- > tools/perf/bench/bench.h | 2 + > tools/perf/bench/syscall.c | 76 +++++++++++++++++++++++++++-- > tools/perf/builtin-bench.c | 2 + > 5 files changed, 108 insertions(+), 18 deletions(-) > Ping, any more comments? Thanks, Tiezhu