Re: [PATCH v2 2.6.38-rc8-tip 0/20] 0: Inode based uprobes

From: Steven Rostedt
Date: Tue Mar 15 2011 - 16:01:13 EST


On Tue, 2011-03-15 at 20:43 +0100, Thomas Gleixner wrote:
> On Tue, 15 Mar 2011, Andi Kleen wrote:
> > > > How do you envisage these features actually get used? For example,
> > > > will gdb be modified? Will other debuggers be modified or written?
> > >
> > > How about answering this question first _BEFORE_ advertising
> > > systemtap?
> >
> > I thought this was obvious. systemtap is essentially a script driven
> > debugger.
>
> Oh thanks for the clarification. I always wondered why a computer
> would need a tap.
>
> And it does not matter at all whether systemtap can use this or
> not. If the main debuggers used like gdb are not going to use it then
> it's a complete waste. We don't need another debugging interface just
> for a single esoteric use case.

The question is, can we have a tracing interface? I don't care about a
debugging interface as PTRACE (although the ABI sucks) is fine for that.
But any type of live tracing it really sucks for.

Hopefully this will allow perf (and yes even LTTng and systemtap) to be
finally able to do seamless tracing between userspace and kernel space.
The only other thing we have now is PTRACE, and if you think that's
sufficient, then spend a day programming with it.


-- Steve


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/