Message ID | 1668052208-14047-1-git-send-email-yangtiezhu@loongson.cn |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp710447wru; Wed, 9 Nov 2022 19:56:12 -0800 (PST) X-Google-Smtp-Source: AMsMyM6ojppXcubIZHSxWZ9392qYv2J8QjxqqV2gMQcrZvR4rr/3Qx+WpmGhZvJk9a/dFnZCq2Mx X-Received: by 2002:a63:211a:0:b0:451:f444:3b55 with SMTP id h26-20020a63211a000000b00451f4443b55mr52653973pgh.60.1668052572193; Wed, 09 Nov 2022 19:56:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668052572; cv=none; d=google.com; s=arc-20160816; b=KKlBrSQhQOHEgF7GLx01FC9gh+vRBnMHLyqXD9PfGyJWYsYSOLsZXLxim+/lHOJ/Gc xIstCjpRI4nF14XfVeDRKAvAgIvOUhw0ehAVHIO8BR7duKLTHHIsBhaVGJU4uJiyU8FF ae9QV3Mkyszjyc9vzUZWlldCRCowJIuKrO9tAWVeOTCsxy0eF3yDzpbHc8sjaR4+mePk Y5HRobSpsHqBSMGvVabDaxYD3AedT3oltJIHuQ4tM/j/Iq8P9O5m57z165jLEbddN+Pw XGfUYAcSivW7kqPf05i1ei1BGzFaiBuKgAIa5n2ul8wf1y3yJvx8gtN9l8mX2AJMSawX bkmg== 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 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.55.45; Wed, 09 Nov 2022 19:56:12 -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 <rfc822;dexuan.linux@gmail.com> + 99 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 <rfc822;linux-kernel@vger.kernel.org>); 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 <yangtiezhu@loongson.cn> To: Peter Zijlstra <peterz@infradead.org>, Ingo Molnar <mingo@redhat.com>, Arnaldo Carvalho de Melo <acme@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com>, Alexander Shishkin <alexander.shishkin@linux.intel.com>, Jiri Olsa <jolsa@kernel.org>, Namhyung Kim <namhyung@kernel.org>, 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: <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?1749006680854253858?= X-GMAIL-MSGID: =?utf-8?q?1749079894084341744?= |
Series | perf: Add more syscalls to benchmark | |
Message
Tiezhu Yang
Nov. 10, 2022, 3:50 a.m. UTC
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(-)
Comments
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
On 12/03/2022 05:19 PM, Tiezhu Yang wrote: > > > 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 Hi all, If this patch series has no value and is not acceptable, or what should I do to update, please let me know. Thanks, Tiezhu
Hello, On Thu, Jan 5, 2023 at 5:23 PM Tiezhu Yang <yangtiezhu@loongson.cn> wrote: > > > > On 12/03/2022 05:19 PM, Tiezhu Yang wrote: > > > > > > 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 > > Hi all, > > If this patch series has no value and is not acceptable, > or what should I do to update, please let me know. I'm so sorry about being late a lot. I don't have any objection to this series. For the execve bench, I think it's actually fork + execve then maybe it makes sense to have a fork only bench to compare the execve part precisely. But it can be added later, so Acked-by: Namhyung Kim <namhyung@kernel.org> Thanks, Namhyung
On 01/07/2023 05:04 AM, Namhyung Kim wrote: > Hello, > > On Thu, Jan 5, 2023 at 5:23 PM Tiezhu Yang <yangtiezhu@loongson.cn> wrote: >> >> >> >> On 12/03/2022 05:19 PM, Tiezhu Yang wrote: >>> >>> >>> 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 >> >> Hi all, >> >> If this patch series has no value and is not acceptable, >> or what should I do to update, please let me know. > > I'm so sorry about being late a lot. > I don't have any objection to this series. > > For the execve bench, I think it's actually fork + execve > then maybe it makes sense to have a fork only bench > to compare the execve part precisely. > > But it can be added later, so > > Acked-by: Namhyung Kim <namhyung@kernel.org> > > Thanks, > Namhyung > Hi Namhyung, Thank you very much. I will submit another single patch to benchmark fork after this series is applied. Thanks, Tiezhu
Em Fri, Jan 06, 2023 at 01:04:42PM -0800, Namhyung Kim escreveu: > Hello, > > On Thu, Jan 5, 2023 at 5:23 PM Tiezhu Yang <yangtiezhu@loongson.cn> wrote: > > > > > > > > On 12/03/2022 05:19 PM, Tiezhu Yang wrote: > > > > > > > > > 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 > > > > Hi all, > > > > If this patch series has no value and is not acceptable, > > or what should I do to update, please let me know. > > I'm so sorry about being late a lot. > I don't have any objection to this series. > > For the execve bench, I think it's actually fork + execve > then maybe it makes sense to have a fork only bench > to compare the execve part precisely. > > But it can be added later, so > > Acked-by: Namhyung Kim <namhyung@kernel.org> Applied. - Arnaldo