Re: [PATCH v5 3.1.0-rc4-tip 8/26] x86: analyze instruction and determine fixups.

From: Mark Wielaard
Date: Mon Sep 26 2011 - 14:30:54 EST


Stefan Hajnoczi <stefanha <at> linux.vnet.ibm.com> writes:
> On Tue, Sep 20, 2011 at 02:12:25PM -0400, Christoph Hellwig wrote:
> > Do we now have sdt.h support for uprobes? That's one of the killer
> > features that always seemed to get postponed.
>
> Not yet but it's a question of doing roughly what SystemTap does to
> parse the appropriate ELF sections and then putting those probes into
> uprobes.

GDB now also implements this:
http://sourceware.org/ml/gdb-patches/2011-04/msg00036.html

Roland also posted a simple C based parser when he first suggested
the new format:
http://www.sourceware.org/ml/systemtap/2010-q3/msg00145.html

There is a complete description of the elf note section, argument format
and semaphore handling at:
http://sourceware.org/systemtap/wiki/UserSpaceProbeImplementation

Cheers,

Mark

--
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/