Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp949411rwb; Wed, 9 Nov 2022 10:36:21 -0800 (PST) X-Google-Smtp-Source: AMsMyM6yxU/oedfdAk8gTmsMl/2qCk4MyrCdARYg8HNf8jvThaDkWEbhcHSRR8w6ImvJY9KoKWF2 X-Received: by 2002:aa7:d14f:0:b0:463:a5d3:fb95 with SMTP id r15-20020aa7d14f000000b00463a5d3fb95mr45971270edo.237.1668018981211; Wed, 09 Nov 2022 10:36:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668018981; cv=none; d=google.com; s=arc-20160816; b=GL031oAEEA/k4/xyiKypsk/BNhw1ppiM1us8mZkq055lSa75Rc427U+qCCOTF+XS5z bJTNiMlchKgVixs4UWE5aonQ5aZvq+MeDLkOWjVb8bHyfhL4ak/k2zKcJMHgm8A6Lyds 9iEIRa0oBnuWWg5PLP67F8dVifNuVZvjcBpN+iGBucfFYEUmrAwuN6RK+o67rx0TJ4je N2TjhEQAtrkDhCfkY4MX+GX8UlGKtTuvca1j1YMfknBdog0wjcJ73PXkpgVBRjryjyr/ hhT4QFruBumBApP2DDPEPxtQpbzapEM4AX84V2yM0Puxcf6tQ3036v7Js0yXuvSP0kQ/ rHmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=boHIOzdbezf2BQcC57pQ2ZTCZGFD8AJvBKKorhnN5Yw=; b=PnRA1BXYWVIv8bTIiU3xuCGREYvy69r70AwTgIqHnYg+x/r9Bjp7CTL/ybo7Ep4tnE 0vs09R+diHlGShpArqNTORyzj6PD+8tZ9dUY5Hcs1/yB8Jlmhm3bBUeqWSceT7SFan09 LqrLROjs181o3D+a3Tsa5KjpDg6bG1+KCFyxa0AFJ9fYyRd2FYCpR1ZVJVRyQZb36SLu 8bRzPSNrf+WzwQUFgdSOGU6NBc57Dy4UhH0H48eKrcxSfl7LFSUtRHjDLqUmhi/20nME VWUfk2fAGavYNsPM8Y5E4yt5kt4R47iRRx2yd9ULPJx+rI6IpYGp6WzO1Oaow1wsvJBQ 81gA== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hs15-20020a1709073e8f00b007a858ead52dsi4553405ejc.732.2022.11.09.10.35.56; Wed, 09 Nov 2022 10:36:21 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230118AbiKISPa (ORCPT + 92 others); Wed, 9 Nov 2022 13:15:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229452AbiKISP3 (ORCPT ); Wed, 9 Nov 2022 13:15:29 -0500 Received: from mail-oa1-f42.google.com (mail-oa1-f42.google.com [209.85.160.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DED610B55; Wed, 9 Nov 2022 10:15:28 -0800 (PST) Received: by mail-oa1-f42.google.com with SMTP id 586e51a60fabf-13be3ef361dso20493873fac.12; Wed, 09 Nov 2022 10:15:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=boHIOzdbezf2BQcC57pQ2ZTCZGFD8AJvBKKorhnN5Yw=; b=oRxsUnUMYYTu7ccQ8ve3UpOCwfXxPQQ/Bs8PsNL0EB/COTrpytzCJiCinE5GRhNPJX 3y8Kk1lVr4p+MJmhXukeDDNH20zxlOgYaGh5oWtrXAtwBSJceySi6tTjbdJLvVVdp6Vn TCPTEOiYEi+T/r7S8nReggh3qRsQ6XOmBLOrrMS8REppImox1cRriuiAo1QR8eZD1q4+ g9tkkA7/rIi9tsifxZk9EQj/wE1S8HQWe1la93KstFQrejlFdBUUiTLBUuXSgOByKFuZ dzkaN0gniN+OwwKdq4MP/Wi2Kcp4IQs+wyX8J/sWhyu2Q0i9ewjUc/NwKQW9UE3who0z gUzQ== X-Gm-Message-State: ACrzQf0U9kfey1IBaWJNpzEOpaMCH7JdOTUW0TyWJmagsXqDflhW95PM nyWVtAhGU1UY7zLAk/dXyr6w5BNhq9MuvEaQem95c0Fu X-Received: by 2002:a05:6870:9a27:b0:140:6f4c:f532 with SMTP id fo39-20020a0568709a2700b001406f4cf532mr16480170oab.209.1668017727719; Wed, 09 Nov 2022 10:15:27 -0800 (PST) MIME-Version: 1.0 References: <1667982547-22331-1-git-send-email-yangtiezhu@loongson.cn> In-Reply-To: <1667982547-22331-1-git-send-email-yangtiezhu@loongson.cn> From: Namhyung Kim Date: Wed, 9 Nov 2022 10:15:16 -0800 Message-ID: Subject: Re: [PATCH v4 0/4] perf: Add more syscalls to benchmark To: Tiezhu Yang Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=no 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 Hello, On Wed, Nov 9, 2022 at 12:29 AM Tiezhu Yang wrote: > > 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 getpgrp syscall benchmark > perf bench syscall: Add execve syscall benchmark Have you tested it on non-x86 too? It seems you only added the syscall numbers to x86. Thanks, Namhyung > > 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 >