Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp59739rwb; Wed, 9 Nov 2022 19:56:54 -0800 (PST) X-Google-Smtp-Source: AMsMyM4aE4ErDmctrPbXCQ4YvO5Mi7xnyBt7jcp8Pc7BgewQZQnL2w8cjQgfHP2uiXlW7FQ2lFdO X-Received: by 2002:a63:2a44:0:b0:46e:9fda:219b with SMTP id q65-20020a632a44000000b0046e9fda219bmr52183032pgq.347.1668052613945; Wed, 09 Nov 2022 19:56:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668052613; cv=none; d=google.com; s=arc-20160816; b=qyEvQUaZXDVEv7gNStwNv5d8EmebOoW8NWtqDAAm0o3eY4rzfSq+OQmBzhuoLTeSSy A4lP4dFCPFa/s/M2aMMM0mEVXy9dJLK2a12zL/oEgnZCemD5PND2ysLFpyfJ599kttM5 qo9TpwmlhTIL8PKiBNzeEKn2PC7ZZOxjmyx4VPpIByeM6zKm50wPyYRd3BSpL/OhoTR8 WQ1PfL/XylMCjIj1jkFP80Slxwtku6CM0acN1q71x6Y8JEZibHtnUozoeapj1InWvogu 2YVgfqruKvXZaqRPheHIZt/W9aqGUqZa87EHUhd5CrbhLyNnPQVoyVtygycD7ALqJ1DP xfIQ== 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=JZL4FLCFg1cW1+8XaNwGSGqv2fM126YXF6Jov9l00/0=; b=aRGpST6TTszGXPyQ3Jo7VBjCf5d7fcAs3fOzybPrRMcxF25meGC8PfPWFXhyHFq05Y mErPOdpqewxAMdJa3uY2TI6FLWyj8yEfwVXB2O2wb+ztT2QX7UOjs1vHVaoZfdm+1gs+ uOmvfzzcu3ShRh+jrIeKMci32WGzHOAMb1lc/l2TKZQ3dc1BbtsGNHC3Sexj2psEy+EJ LH4uP9E0eSs8mUtlPoXOaOuX/62083sxIA5KHun74MtG9l4EcNPSrt77pR2twGgpxkPk Rj7UAwmRMJ5IMQ0Lgd7Q1vwPGdn6wL65zsPmAjEoO+OLgP0ps0Y8WiXsfXvHJJjalKtb X/bg== 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 p3-20020a622903000000b0054096da12b1si17246028pfp.39.2022.11.09.19.56.41; Wed, 09 Nov 2022 19:56:53 -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 S232724AbiKJDu0 (ORCPT + 93 others); Wed, 9 Nov 2022 22:50:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232322AbiKJDuU (ORCPT ); Wed, 9 Nov 2022 22:50:20 -0500 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 96DAB2B60E; Wed, 9 Nov 2022 19:50:16 -0800 (PST) Received: from loongson.cn (unknown [113.200.148.30]) by gateway (Coremail) with SMTP id _____8Dx_Nj3dGxjf7AFAA--.18023S3; Thu, 10 Nov 2022 11:50:15 +0800 (CST) Received: from linux.localdomain (unknown [113.200.148.30]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Dx9Vb1dGxjO_4PAA--.25722S2; Thu, 10 Nov 2022 11:50:14 +0800 (CST) From: Tiezhu Yang To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo Cc: Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Subject: [PATCH v5 0/4] perf: Add more syscalls to benchmark Date: Thu, 10 Nov 2022 11:50:04 +0800 Message-Id: <1668052208-14047-1-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: AQAAf8Dx9Vb1dGxjO_4PAA--.25722S2 X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBjvdXoWrGw1fGryDXrW5uFykKr1fXrb_yoWxGFb_Aa 4I9rW5GrWxWF9xtFy5Jrs8Xa4IyayUXryDAFn7Gr15KF4DXFyDXFnYv34kAF1Y9F4DurW3 G3yrZr1rArWakjkaLaAFLSUrUUUU8b8apTn2vfkv8UJUUUU8wcxFpf9Il3svdxBIdaVrn0 xqx4xG64xvF2IEw4CE5I8CrVC2j2Jv73VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUY y7kC6x804xWl14x267AKxVWUJVW8JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3w AFIxvE14AKwVWUXVWUAwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK 6xIIjxv20xvE14v26r4j6ryUM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r4j6F4UM28EF7 xvwVC2z280aVAFwI0_Gr1j6F4UJwA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_Gr1j6F4UJwAa w2AFwI0_Jrv_JF1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqjxCEc2xF0cIa020Ex4CE44 I27wAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_JF0_Jw1lYx0Ex4A2 jsIE14v26r4j6F4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwCF04k20x vY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwCFI7km07C267AKxVWUXVWUAwC20s02 6c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jw 0_GFylIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvE c7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14 v26r4j6F4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x 07jFE__UUUUU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 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(-) -- 2.1.0