From patchwork Wed Nov 9 08:29:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tiezhu Yang X-Patchwork-Id: 1373 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp217091wru; Wed, 9 Nov 2022 00:32:31 -0800 (PST) X-Google-Smtp-Source: AMsMyM7VbuJ/NKsyYIDgxMbdCN89/EToq3Ee7uENMssuP8UFGWDqeG9F6+VEpN0qbb5o8A1ubbq3 X-Received: by 2002:a63:5246:0:b0:42b:e4a5:7252 with SMTP id s6-20020a635246000000b0042be4a57252mr49774428pgl.566.1667982750940; Wed, 09 Nov 2022 00:32:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667982750; cv=none; d=google.com; s=arc-20160816; b=BV1hioQAdkhbz94CZnyi5d2MNqY/YF6eepvdLtBCfiNzPZnpseTR04+vMEvBzMJYKf juNR7YW81SdYoXqI5hXvsEHi7obl5nTC1dlalb58qcE1g149KHmrIHNuwJ4d9QZEP+1K pi56Kcy/Avzm5RKjXoF21tqhJAD913+ojZZjKv82yCsB8YiQYU0Zeul+MOhyY5Rivs+d wgy9IqQ+IXlj7kKa/HAm9Da5yfi66CaaNDUL0futv+HrrZR3wP647hFACXwnRQqRrx9Q gLJvAC1LR+j2Pa6yWaILoxdp0wIY/9duL4KtXvb15udKMM/rhySmXjHFd8yLTD4CznuX kF6g== 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=xW3rqtVhxNcoft9L6lQPwz0o0G+Vx5VvGD7bxeKZlko=; b=r8Q5bT7Ak8BQp7QWnFDjbKHPuuYieOZHeoY/eMumob66tYZMOA2u+je3X4mFED9VM/ zrbcq0WgrvarQKIfbhLvpTGsqWtUhRXX+LzVgdVyr5jTyviWgAplSqifwfip4+TYBO8Z kNvcQzq9mCQ5Nzjj6UCkRDXlsxIwcUKBu1fGhntTLIot+kL+2lbSVv37P43xTIIWMmVF Lx1jaBRdg2Vy6WaesdEtAPgj5tbNh+HtwGEDPXRSaS3TWKkch9owhiTGfPNClCP9dIja ITdcgSlcTQpGTq4XmVifr6RGj9C/9bUauzHOMDqV5L7sWusI3G2hWpeV25ZulR5O3zU+ yyIg== 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 n12-20020a63a50c000000b0046fbe60747asi18168305pgf.594.2022.11.09.00.32.17; Wed, 09 Nov 2022 00:32:30 -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 S229985AbiKIIao (ORCPT + 99 others); Wed, 9 Nov 2022 03:30:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230095AbiKIIaS (ORCPT ); Wed, 9 Nov 2022 03:30:18 -0500 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 32E0D22539; Wed, 9 Nov 2022 00:29:18 -0800 (PST) Received: from loongson.cn (unknown [113.200.148.30]) by gateway (Coremail) with SMTP id _____8DxTtvUZGtjboEFAA--.17857S3; Wed, 09 Nov 2022 16:29:08 +0800 (CST) Received: from linux.localdomain (unknown [113.200.148.30]) by localhost.localdomain (Coremail) with SMTP id AQAAf8BxtuPTZGtjJnIPAA--.42697S2; Wed, 09 Nov 2022 16:29:08 +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 v4 0/4] perf: Add more syscalls to benchmark Date: Wed, 9 Nov 2022 16:29:03 +0800 Message-Id: <1667982547-22331-1-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: AQAAf8BxtuPTZGtjJnIPAA--.42697S2 X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7KY7 ZEXasCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29K BjDU0xBIdaVrnRJUUUPjb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26c xKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1Y6r17M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vE j48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Gr0_Xr1l84ACjcxK6xIIjxv20xvEc7CjxV AFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVCY1x02 67AKxVW8Jr0_Cr1UM2AIxVAIcxkEcVAq07x20xvEncxIr21l57IF6xkI12xvs2x26I8E6x ACxx1l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r126r1DMcIj6I8E 87Iv67AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41l42xK82 IYc2Ij64vIr41l4c8EcI0En4kS14v26r1Y6r17MxAqzxv26xkF7I0En4kS14v26r126r1D MxC20s026xCaFVCjc4AY6r1j6r4UMxCIbckI1I0E14v26r1Y6r17MI8I3I0E5I8CrVAFwI 0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUtVW8ZwCIc40Y 0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxV WUJVW8JwCI42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Jr0_Gr1l IxAIcVC2z280aVCY1x0267AKxVWUJVW8JbIYCTnIWIevJa73UjIFyTuYvjxU2nYFDUUUU 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749006680854253858?= X-GMAIL-MSGID: =?utf-8?q?1749006680854253858?= 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 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(-)