[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20131113105705.c3fed1c5.akpm@linux-foundation.org>
Date: Wed, 13 Nov 2013 10:57:05 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: paulmck@...ux.vnet.ibm.com, LKML <linux-kernel@...r.kernel.org>,
Al Viro <viro@...IV.linux.org.uk>
Subject: Re: [PATCH] rcu: Make struct rcu_head searchable
On Wed, 13 Nov 2013 13:10:44 -0500 Steven Rostedt <rostedt@...dmis.org> wrote:
> On Wed, 13 Nov 2013 09:12:05 -0800
> "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com> wrote:
>
> > On Wed, Nov 13, 2013 at 12:02:25PM -0500, Steven Rostedt wrote:
> > > After wasting too much time trying to see where struct rcu_head was
> > > declared, I finally found it in include/linux/types.h as a define for
> > > callback_head!
> > >
> > > To prevent other developers from wasting their precious time in
> > > searching for this structure, add a comment to help them find it!
> > >
> > > Cc: Al Viro <viro@...IV.linux.org.uk>
> > > Cc: "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
> > > Signed-off-by: Steven "frustrated" Rostedt <rostedt@...dmis.org>
> >
> > The cscope tool is your friend in this case, but nevertheless:
>
> I use emacs, and the latest version of etags (or emacs) brings you to
> each use case before it gets you to the define (which is really
> annoying). Back in 2006 it use to work properly. I need to figure out
> what changed :-/
That irritates me too. Fortunately I just invented
(grep "#define" tags && grep -v "#define" tags) > tags.new
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists