Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1947566rdb; Thu, 7 Dec 2023 13:25:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IGh1L8LfVzodWGYCvP9WfLSTlm6Yvm0fnfQfeohboSjqlM5yql6AQJd5n8Pftmd8+2x5+4c X-Received: by 2002:a17:902:8f8c:b0:1d0:b916:f59f with SMTP id z12-20020a1709028f8c00b001d0b916f59fmr3034994plo.110.1701984309938; Thu, 07 Dec 2023 13:25:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701984309; cv=none; d=google.com; s=arc-20160816; b=BZ2F23ZqERfddZ0bRf1mBm/lW4SV9myW5DCtEH5CP5e5hevxe/WulG1aFdpJfRMfNf V32siwKwfHC/0bJmLDnHXPdH31zMuuB3H0uPgUEcBzT6NXaMST0oBUh33qiBwQLFG4B2 tgvJVRHpjd0Lyp9jqpxd6c8+HxuU+x3teOptRfhmVh29wTeBV5tqmAHTef+FcY6kDRKP ya1OCFo241gkcPxpqCBMDRhTk9/bej8fTSz+Q8QeJXfSK1tlBec13hWiCkxiOBH1bwdz lG5MAxIxE9ntD+/FY1a6Ot4/GtotUA29ODeVM4ngsTI6Rmn5DrunktwDjO2V1JhcwZOA 2V/A== 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:date:subject:cc:to:from :dkim-signature; bh=lvA6ro7QUMhtjJlsHPwIgzyPLJOZgWtkvO2st3qI+pQ=; fh=ib4gl95HfLmZdfX9QIMf3rTepWCH9JlNymcDKJTPhJg=; b=mGwJf8h8LnI2tphJiAOmTpNpwISgY25NHkzE2HUEYsvl9zT6ry+jTd/UWhfe8y9jXD 4Lukkfk1UCoTzNso94z9q9nbXuMNkugUSa1fzrRuM4wLg+1Saa1kb/XhQ5DspKD4CHGN 7VomxkOJRGvDqFQ95b760AaLgeKNG0ht4yaq0N1Gi5FF23xjV0umQUpWT5rJSpm6/H4b RZhd3RoMQLwHEROLxHYkNXXGbW/AQNyL8WXU7uQuv2y5NTsWnqdv/rKntRLZgMWMKjQS Ct0NSNFoRO8hbTjPy3Z5yYS7baZKw+Sl0HubkOVPEZbunqgrCBvfSM5RtjP4GhJ0+TXe yN0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ns+TQKv2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id u9-20020a170902e80900b001d091c3ab04si367200plg.355.2023.12.07.13.25.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 13:25:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ns+TQKv2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id B0C8285062A5; Thu, 7 Dec 2023 13:25:03 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443996AbjLGVYX (ORCPT + 99 others); Thu, 7 Dec 2023 16:24:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235374AbjLGVXR (ORCPT ); Thu, 7 Dec 2023 16:23:17 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 023801739 for ; Thu, 7 Dec 2023 13:23:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701984199; 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=lvA6ro7QUMhtjJlsHPwIgzyPLJOZgWtkvO2st3qI+pQ=; b=Ns+TQKv2sH+QMUnmkXRP4EqvBzMH27Dy81N96Fzf8e7jdxlNFCXVHLxXra/D+nCjwL0piB 5qwPWzn9eWvWpDi7lzvHdXd/F5RaEwT3GMendemgUGrBc22yaQCjyh+hyR+oIbyteMlmBI jH90jvnc4T4EUYhvQfq42LNOalDho48= 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-685-9KUuTsJwM4aFyQU2gs7mHg-1; Thu, 07 Dec 2023 16:23:15 -0500 X-MC-Unique: 9KUuTsJwM4aFyQU2gs7mHg-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (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 48B5385A58A; Thu, 7 Dec 2023 21:23:14 +0000 (UTC) Received: from warthog.procyon.org.com (unknown [10.42.28.161]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8C2221C060AF; Thu, 7 Dec 2023 21:23:11 +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 v3 18/59] netfs: Export netfs_put_subrequest() and some tracepoints Date: Thu, 7 Dec 2023 21:21:25 +0000 Message-ID: <20231207212206.1379128-19-dhowells@redhat.com> In-Reply-To: <20231207212206.1379128-1-dhowells@redhat.com> References: <20231207212206.1379128-1-dhowells@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 07 Dec 2023 13:25:04 -0800 (PST) Export netfs_put_subrequest() and the netfs_rreq and netfs_sreq tracepoints. 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 | 3 +++ fs/netfs/objects.c | 1 + 2 files changed, 4 insertions(+) diff --git a/fs/netfs/main.c b/fs/netfs/main.c index 97ce1436615b..404e68e339bf 100644 --- a/fs/netfs/main.c +++ b/fs/netfs/main.c @@ -17,6 +17,9 @@ MODULE_DESCRIPTION("Network fs support"); MODULE_AUTHOR("Red Hat, Inc."); MODULE_LICENSE("GPL"); +EXPORT_TRACEPOINT_SYMBOL(netfs_rreq); +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"); diff --git a/fs/netfs/objects.c b/fs/netfs/objects.c index 9f3f33c93317..a7947e82374a 100644 --- a/fs/netfs/objects.c +++ b/fs/netfs/objects.c @@ -178,3 +178,4 @@ void netfs_put_subrequest(struct netfs_io_subrequest *subreq, bool was_async, if (dead) netfs_free_subrequest(subreq, was_async); } +EXPORT_SYMBOL(netfs_put_subrequest);