[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250821-nfs-testing-v1-0-f06099963eda@kernel.org>
Date: Thu, 21 Aug 2025 13:16:52 -0400
From: Jeff Layton <jlayton@...nel.org>
To: Trond Myklebust <trondmy@...nel.org>, Anna Schumaker <anna@...nel.org>,
Chuck Lever <chuck.lever@...cle.com>, NeilBrown <neil@...wn.name>,
Olga Kornievskaia <okorniev@...hat.com>, Dai Ngo <Dai.Ngo@...cle.com>,
Tom Talpey <tom@...pey.com>, "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Simon Horman <horms@...nel.org>
Cc: linux-nfs@...r.kernel.org, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, Jeff Layton <jlayton@...nel.org>
Subject: [PATCH 0/2] sunrpc: allow dprintk() to go to the trace buffer
instead of console
While we have added a lot of static tracepoints in the last few years,
we still have a load of dprintks in place at all levels of the
NFS/NLM/RPC stack. At the same time, they're pretty useless under any
significant load.
This adds a new Kconfig switch to allow those to go to the trace buffer
instead. In addition to being more efficient, that allows us to enable
static tracepoints alongside dprintk() and get a unified log.
Signed-off-by: Jeff Layton <jlayton@...nel.org>
---
Jeff Layton (2):
sunrpc: remove dfprintk_cont() and dfprintk_rcu_cont()
sunrpc: add a Kconfig option to redirect dfprintk() output to trace buffer
fs/nfs/write.c | 6 +++---
include/linux/sunrpc/debug.h | 30 ++++++++----------------------
net/sunrpc/Kconfig | 14 ++++++++++++++
3 files changed, 25 insertions(+), 25 deletions(-)
---
base-commit: 80a1bea0cd81de70c56b37a8292c23d57419776f
change-id: 20250821-nfs-testing-2b21070952d4
Best regards,
--
Jeff Layton <jlayton@...nel.org>
Powered by blists - more mailing lists