[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.1.10.0810311036130.20157@gandalf.stny.rr.com>
Date: Fri, 31 Oct 2008 10:36:57 -0400 (EDT)
From: Steven Rostedt <rostedt@...dmis.org>
To: Abhishek Sagar <sagar.abhishek@...il.com>
cc: Ingo Molnar <mingo@...e.hu>, Thomas Gleixner <tglx@...utronix.de>,
LKML <linux-kernel@...r.kernel.org>,
Al Viro <viro@...iv.linux.org.uk>
Subject: Re: [PATCH] ftrace: distinguish kretprobe'd functions in trace
logs
On Thu, 30 Oct 2008, Steven Rostedt wrote:
>
> > +
> > +#ifdef CONFIG_KRETPROBES
> > +static inline int kretprobed(unsigned long addr)
> > +{
> > + return addr == (unsigned long)kretprobe_trampoline;
>
> Hi Abhishek,
>
> Now that this code is in mainline, it has become apparent that
> kretprobe_trampoline is not defined on all archs as a global like it is in
> x86. This needs to be fixed (it breaks ia64 build).
>
Also note that kretprobe_trampoline will not be the return address.
Hmm, I think I can solve this by not even doing the test here, but simply
on the name itself.
-- Steve
--
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