Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2591700rwd; Fri, 9 Jun 2023 13:45:56 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4MINy9Zjw1YjGnIbsoqkvu2Wb/70zXFyEmYPUD1ItAtr8FKzt4wJL6rNzJeOqy9Gl8XI5w X-Received: by 2002:a17:903:234b:b0:1b2:28ca:d30 with SMTP id c11-20020a170903234b00b001b228ca0d30mr2045210plh.10.1686343555825; Fri, 09 Jun 2023 13:45:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686343555; cv=none; d=google.com; s=arc-20160816; b=cCGd4+IfHANo2xKpfawkZ/XwTtD7/PBeJBzlkbJH3UIcBw7of+ZZYZxi+PJSY48D97 n4a30NvRcCNHmil2t3S8tIwrKY4SKGNgwpCwbk34q8t3rthNKFdK9AlAIzB8gzfLYPoW 9VA3jxR5c0hkbnZR8+ud68QoLMOaki1F6rk6dnv2fUMJySPig3DeQxYJnt316weuoc2M N8jWZsFpEzSTL8sxQEW7LWL9LWgTF85w37/Ts+nveWRloHP1ktZlCaUSBh0nBcGOYF1G pbfs/7i3i1w3KpdHNKqUBYH8RaCPKgkJtMZJ3uDbWaC9vwW3PUehn8PDCxuxomaoxXqB TAYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=mAjVHVtQvzis6DqZjYkvNrvs/64wiFWxnfKEeipKxCw=; b=SxQulekR41AF7bAED+L2cDVw8Gcyaz4oCVE24okOORHd8LAEUYuL2Tnjtz62Sz9NND 3iANiLGktWdWZ4Ds/6OFYFw+hbL9DO2gFXetyWUbnsp3oAflalUSjr0lJvDhAxhulI4V cAaameetsGqsCyKfvZs6kNBNzLRkvOdkgG4U0is2IpZY9YrHWqq35n45i9bV0LB/fNQV qjxBP4x8zUA7fp1QGcy7igAplajZfl1OM/+3BzRXnm9HaK0QLzZhbzbj/BHprEcB0gO4 uYowypO7JXlxtS6TUtOLP2d2Gr8bma/UXpsQbjfY48m67fQvKgr7W74yQGmo+Tm8u9b5 ToRQ== 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 e6-20020a170902cf4600b001a92e587f72si4400plg.413.2023.06.09.13.45.43; Fri, 09 Jun 2023 13:45:55 -0700 (PDT) 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 S231841AbjFIUW3 (ORCPT + 99 others); Fri, 9 Jun 2023 16:22:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232726AbjFIUWO (ORCPT ); Fri, 9 Jun 2023 16:22:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BE7249C8; Fri, 9 Jun 2023 13:21:35 -0700 (PDT) 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 62F8165BEA; Fri, 9 Jun 2023 20:20:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9818AC433A4; Fri, 9 Jun 2023 20:20:49 +0000 (UTC) Date: Fri, 9 Jun 2023 16:20:46 -0400 From: Steven Rostedt To: Florent Revest Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, mhiramat@kernel.org, mark.rutland@arm.com, kpsingh@kernel.org, xukuohai@huaweicloud.com, Catalin Marinas Subject: Re: [PATCH 0/2] Ftrace direct call samples improvements Message-ID: <20230609162046.13d19398@gandalf.local.home> In-Reply-To: <20230427140700.625241-1-revest@chromium.org> References: <20230427140700.625241-1-revest@chromium.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 On Thu, 27 Apr 2023 16:06:58 +0200 Florent Revest wrote: > This series is a subset of [1] that didn't go through the arm64 tree. > > - The first patch fixes a small bug when a direct call sample is loaded on x86 > - The second patch adds arm64 support to all direct calls samples > > They are sent together because the second one depends on the first one. > > This series applies cleanly on Linus's master branch. It needs the first two > patches of [1] which, at the time of writing, don't seem to have made it to the > trace/linux-trace tree but I suppose they could be pulled from Linus's master > > 1: https://lore.kernel.org/bpf/20230405180250.2046566-1-revest@chromium.org/ > > Florent Revest (2): > samples: ftrace: Save required argument registers in sample > trampolines > arm64: ftrace: Add direct call trampoline samples support Is this going through the arm64 tree, or should it go through mine? -- Steve > > arch/arm64/Kconfig | 2 ++ > samples/ftrace/ftrace-direct-modify.c | 34 ++++++++++++++++++ > samples/ftrace/ftrace-direct-multi-modify.c | 40 +++++++++++++++++++++ > samples/ftrace/ftrace-direct-multi.c | 24 +++++++++++++ > samples/ftrace/ftrace-direct-too.c | 40 +++++++++++++++++---- > samples/ftrace/ftrace-direct.c | 24 +++++++++++++ > 6 files changed, 158 insertions(+), 6 deletions(-) >