Messages in this thread | | | Subject | Re: linux-next: Tree for Feb 2 (trace/events/sunrpc.h) | From | Steven Rostedt <> | Date | Wed, 08 Feb 2012 22:30:24 -0500 |
| |
On Thu, 2012-02-09 at 03:14 +0000, Myklebust, Trond wrote:
> Hmm.... How about if we rather take that out of the RPC_DEBUG condition? > I'm assuming that if someone compiles in the tracepoint code, then they > want to be able to do a full trace independently of whether or not they > set CONFIG_SYSCTL.
Works for me.
> > 8<--------------------------------------------------------------------- > From d051b60dcc3032b71cf8d9b96ac4bf24f12b6dcb Mon Sep 17 00:00:00 2001 > From: Trond Myklebust <Trond.Myklebust@netapp.com> > Date: Wed, 8 Feb 2012 22:01:15 -0500 > Subject: [PATCH] SUNRPC: Ensure that we can trace waitqueues when > !defined(CONFIG_SYSCTL) > > The tracepoint code relies on the queue->name being defined in order to > be able to display the name of the waitqueue on which an RPC task is > sleeping. > > Reported-by: Randy Dunlap <rdunlap@xenotime.net> > Reported-by: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
-- Steve
> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> > --- > include/linux/sunrpc/debug.h | 3 +++ > include/linux/sunrpc/sched.h | 15 +++++++++++++-- > net/sunrpc/sched.c | 4 +--- > 3 files changed, 17 insertions(+), 5 deletions(-) >
| |