Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp804546rdb; Fri, 17 Nov 2023 13:18:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IHCxowm1HAeUhFBEs7KoUeJylhWWT1LQIPL3Awn7qddkqRzbwWDYqGuaJCMbxP4CmOa5GjB X-Received: by 2002:a05:6a20:734f:b0:187:958b:993b with SMTP id v15-20020a056a20734f00b00187958b993bmr8412196pzc.10.1700255924778; Fri, 17 Nov 2023 13:18:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700255924; cv=none; d=google.com; s=arc-20160816; b=N7YrG8eRQjdmhEjFH2uje8vKodYYccI2Ek7XpPYQFwcBxoK2Quz62WfDLW0D4w+QUY 7CjR1EgKMj5INmse7cBCRFfSou8HLoNx0QnyIvzWxrfz8s3krTYnt8bQJZlls8hBAkNg hgTbW4T1gNqIxYTU8bXm88z/cFlLC3I2ZtXo2FstSPLat5++Iw0bLd/5yVpxvWqg0jtl ewcnOnkgxKBv4NeRtceRREp7kp9g9kD1GTCL/vVU44jFZ+bsT4UrRt06UfCDpvGNL9Fo G0jgmvGRqvhzFUBHb9mJEhJsG5YzTq9r+EVMR5g8owBTEUdtNHcOpfEUDOic8I1dndIX T4pw== 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=3DnIaQFDcmRKFHFh1uGC6nDoJ2L5mkm/XxrMZ+rVQ/Q=; fh=lVY/c7gYUTDnyYYKKvGQU3Q29dA69hck6eN/HP5dBQ0=; b=qnQIgw7SA3EHaIXZAqzCzbtShxFXMs89U1Rls/zukRY/y/2oPVsgRTkaGHq7U7NQJF 9MB15pk1uHmD5S538JcaEKd2YwvfKFeWAOAGYvlKOXlFtCvK40kQG2GDvjCRLLydvW0C JdzGVnZevD/rONTKj1OpvUbRBX6ogI8yV0QShuph9/c2gJkvscqtDHFouD6rIU4xcoFf uidJJWzBefY3v1SXxGfpHxDy+lVC3i6xxjPfMhnsCc1tgtdy7kRSkca+SYSYfdeJdEDo 1P1ZxfA5Q5MRh7XRnAlcy7nc9bGUPatH0re7pxcV1Fbfwnd7FRGlr+keKQkNGYK3A1kq SK2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=NTtbANoJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id s64-20020a632c43000000b005b8afa325b8si2581159pgs.410.2023.11.17.13.18.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 13:18:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=NTtbANoJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id 1943C80947E6; Fri, 17 Nov 2023 13:18:32 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232705AbjKQVRe (ORCPT + 99 others); Fri, 17 Nov 2023 16:17:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235789AbjKQVRM (ORCPT ); Fri, 17 Nov 2023 16:17:12 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 069C0212A for ; Fri, 17 Nov 2023 13:16:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1700255803; 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=3DnIaQFDcmRKFHFh1uGC6nDoJ2L5mkm/XxrMZ+rVQ/Q=; b=NTtbANoJ5LOzu5019r82OG+H2QWh9EdctlJvX02rpQi+LI7U4BTJODJdrRi4bYflwW6BnI NQ9h0DpmGb9d+KUedlf6dz9CLLS41EE012Kho4IVnDPCPiH5bFgac7+TT0i+3F8qdywM50 1TkAmOHQhT091mck06ZN77WjSAMi3SE= 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-564-_fKdzUmZO5m7YubrbV2hDQ-1; Fri, 17 Nov 2023 16:16:37 -0500 X-MC-Unique: _fKdzUmZO5m7YubrbV2hDQ-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (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 7691E811E88; Fri, 17 Nov 2023 21:16:36 +0000 (UTC) Received: from warthog.procyon.org.com (unknown [10.42.28.16]) by smtp.corp.redhat.com (Postfix) with ESMTP id CDBED2166B2C; Fri, 17 Nov 2023 21:16:33 +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 , 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 v2 14/51] netfs: Export netfs_put_subrequest() and some tracepoints Date: Fri, 17 Nov 2023 21:15:06 +0000 Message-ID: <20231117211544.1740466-15-dhowells@redhat.com> In-Reply-To: <20231117211544.1740466-1-dhowells@redhat.com> References: <20231117211544.1740466-1-dhowells@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.6 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 agentk.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 (agentk.vger.email [0.0.0.0]); Fri, 17 Nov 2023 13:18:32 -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 21f814eee6af..0f0c6e70aa44 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);