Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp156022rdb; Thu, 21 Dec 2023 05:46:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IGDomL+TBO0pRGOtA5EMxUdXWI73VmtDBkvoEz01PvpisSJoQFTWb8oOexgmY0YDR2Zr+Fq X-Received: by 2002:ad4:5ece:0:b0:67f:713e:8644 with SMTP id jm14-20020ad45ece000000b0067f713e8644mr896504qvb.3.1703166378300; Thu, 21 Dec 2023 05:46:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703166378; cv=none; d=google.com; s=arc-20160816; b=Mai69j7BaRjUS4X7Ig4VDLeDV15/Emry4ELOCgoCzeSVjPBQoOkBVAVHViIGFS3uwl ++LZN0ff63VNtQhHH2XI9L4ntE79iY9IAzBMHyTHEu9XwRu9zXezSy6UgTKjKYe62sQQ LujCr+iw/de+qkNisrEU+WHxLvfAvsLliZ4v4WkHcsVE7tZiVq6ScOFepvd6nudTt8r9 v022bK3k9jVK9NMv/96uhn49POspcuoZLAM/MjccCSvjC8llcn8a69+EycJJA0+lHuWM WL8r9lJQilFrZIX+a4xNyLEc0P+1TWpgzZn3o6AIlNkW5loZY5JXH/crkAwLTEfK3aCI BLfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Cgmint4U4io/DVGAE4w1KSEF3oUqI6P46d5eIrAz1MA=; fh=ib4gl95HfLmZdfX9QIMf3rTepWCH9JlNymcDKJTPhJg=; b=HAA6jL07KoKoSULoktaWz9HNoLOxRL+4mIKa1ePq+bqfLlv2AKBQFXJK++4WR4wEJJ fMPYKSzW0Cky25GEG/pFTU5F5pqWX/O5Czu3VsNALOQjUC6n17dKoLhL/fVhGsBriFxv vK3yJPRhaz6RIkirHze1thg1VvU4Fi2rlZoLSi4pFTwQggKdVudX+8T3ykKCBLcdnSHa Qh9fQAtzVE+CppKhoP46QRmi9QM7MP1pNqwlPRNAn8aUSK7hPBBUJv9iCPZ5jkLw2jV3 1wzT4OvLAAoBKNixk8kp58AmG5DRS3R2frQG2q4jiuAOcyhIXYGw8SNll2ntlFT9TGkb 0CZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ru3WUZB5; spf=pass (google.com: domain of linux-nfs+bounces-764-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-nfs+bounces-764-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id e18-20020a0cf352000000b0067f02e301f1si2075304qvm.423.2023.12.21.05.46.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 05:46:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-764-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ru3WUZB5; spf=pass (google.com: domain of linux-nfs+bounces-764-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-nfs+bounces-764-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 11E321C2499D for ; Thu, 21 Dec 2023 13:46:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D094362806; Thu, 21 Dec 2023 13:26:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Ru3WUZB5" X-Original-To: linux-nfs@vger.kernel.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 71B3F627E5 for ; Thu, 21 Dec 2023 13:26:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1703165195; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Cgmint4U4io/DVGAE4w1KSEF3oUqI6P46d5eIrAz1MA=; b=Ru3WUZB5zYC3j15JXqrPBgra2JQ5/n0WpzW9b+HE0YPEGrvwKNJidjW8wzLtOnozUugK5x MxXYiEZI+EyUzjnzAFTcCHreFFzjhWlL1tsiRm+EdRcL2DVFYyqj2FkrU2muK5bAspwl9i o9cN+1twNC+EuM+7Tng/y6wgk3iSGMQ= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-549-pqTftYibP0msZ8hPWGw4Ig-1; Thu, 21 Dec 2023 08:26:34 -0500 X-MC-Unique: pqTftYibP0msZ8hPWGw4Ig-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4E1E785A58A; Thu, 21 Dec 2023 13:26:33 +0000 (UTC) Received: from warthog.procyon.org.com (unknown [10.39.195.169]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6A75A492BFA; Thu, 21 Dec 2023 13:26:30 +0000 (UTC) From: David Howells To: Jeff Layton , Steve French Cc: David Howells , Matthew Wilcox , Marc Dionne , Paulo Alcantara , Shyam Prasad N , Tom Talpey , Dominique Martinet , Eric Van Hensbergen , Ilya Dryomov , Christian Brauner , linux-cachefs@redhat.com, linux-afs@lists.infradead.org, linux-cifs@vger.kernel.org, linux-nfs@vger.kernel.org, ceph-devel@vger.kernel.org, v9fs@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 38/40] netfs: Export the netfs_sreq tracepoint Date: Thu, 21 Dec 2023 13:23:33 +0000 Message-ID: <20231221132400.1601991-39-dhowells@redhat.com> In-Reply-To: <20231221132400.1601991-1-dhowells@redhat.com> References: <20231221132400.1601991-1-dhowells@redhat.com> Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 Export the netfs_sreq tracepoint so that it can be called directly from client filesystems/cache backend modules. Signed-off-by: David Howells cc: Jeff Layton cc: linux-cachefs@redhat.com cc: linux-fsdevel@vger.kernel.org cc: linux-mm@kvack.org --- fs/netfs/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/netfs/main.c b/fs/netfs/main.c index 81a13071b258..5e77618a7940 100644 --- a/fs/netfs/main.c +++ b/fs/netfs/main.c @@ -17,6 +17,8 @@ MODULE_DESCRIPTION("Network fs support"); MODULE_AUTHOR("Red Hat, Inc."); MODULE_LICENSE("GPL"); +EXPORT_TRACEPOINT_SYMBOL(netfs_sreq); + unsigned netfs_debug; module_param_named(debug, netfs_debug, uint, S_IWUSR | S_IRUGO); MODULE_PARM_DESC(netfs_debug, "Netfs support debugging mask");