From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CD3BBC433FE for ; Wed, 5 Oct 2022 15:08:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Rm1WUx7R2xZmnWY1hWXrSunwKTQ7insLw0ZWZnLOih4=; b=n3YJAsgBObhZ9j e3S8QzJhjgCX8qczxkk/R2BxS4c8EffEbHn+oKnCJ4bJZXrsDFjO10IFsm8YYsVwP011rVi5hHWFc tO5WK6Ery45oOKoAZ1Xdjpis0VXgijpwC+IBH8VuoB8hyBu9Oai1OkE8s27ja503IrvhWfkhemcAG SkhzIVvRTK2xi/iXTnT9ypSUpJjr9htnJAF9ff2BQolYo7jpCN4ljyutoTdyJ6zonCX+hSuN/9QnS BRRC6D3g4wgFeFnwMjG0dDOFgdp09+LsyNxdRzPxyPxvmGUeaur1LwGgpLscQpDX6E0tGimRjvyTi iIN3pGLj5aoc3LyUOAcw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1og5zQ-00ElO2-N7; Wed, 05 Oct 2022 15:07:16 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1og5zL-00ElLM-PC for linux-arm-kernel@lists.infradead.org; Wed, 05 Oct 2022 15:07:14 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id AB42C6173B; Wed, 5 Oct 2022 15:07:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20D94C433D6; Wed, 5 Oct 2022 15:07:04 +0000 (UTC) Date: Wed, 5 Oct 2022 11:07:07 -0400 From: Steven Rostedt To: Xu Kuohai Cc: Florent Revest , Mark Rutland , Catalin Marinas , Daniel Borkmann , Xu Kuohai , , , , Will Deacon , Jean-Philippe Brucker , Ingo Molnar , Oleg Nesterov , Alexei Starovoitov , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Zi Shen Lim , Pasha Tatashin , Ard Biesheuvel , Marc Zyngier , Guo Ren , Masami Hiramatsu Subject: Re: [PATCH bpf-next v2 0/4] Add ftrace direct call for arm64 Message-ID: <20221005110707.55bd9354@gandalf.local.home> In-Reply-To: <7f34d333-3b2a-aea5-f411-d53be2c46eee@huawei.com> References: <20220913162732.163631-1-xukuohai@huaweicloud.com> <970a25e4-9b79-9e0c-b338-ed1a934f2770@huawei.com> <2cb606b4-aa8b-e259-cdfd-1bfc61fd7c44@huawei.com> <7f34d333-3b2a-aea5-f411-d53be2c46eee@huawei.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221005_080711_897610_A2681050 X-CRM114-Status: GOOD ( 11.66 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 5 Oct 2022 22:54:15 +0800 Xu Kuohai wrote: > 1.3 attach bpf prog with with direct call, bpftrace -e 'kfunc:vfs_write {}' > > # dd if=/dev/zero of=/dev/null count=1000000 > 1000000+0 records in > 1000000+0 records out > 512000000 bytes (512 MB, 488 MiB) copied, 1.72973 s, 296 MB/s > > > 1.4 attach bpf prog with with indirect call, bpftrace -e 'kfunc:vfs_write {}' > > # dd if=/dev/zero of=/dev/null count=1000000 > 1000000+0 records in > 1000000+0 records out > 512000000 bytes (512 MB, 488 MiB) copied, 1.99179 s, 257 MB/s Can you show the implementation of the indirect call you used? Thanks, -- Steve _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel