This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH,resubmit] Add static probes to runtime linker


On Mon, Jul 9, 2012 at 12:15 PM, Gary Benson <gbenson@redhat.com> wrote:

> Also, before I forget, Paul, last year when I was working on it you
> had some concerns about in-process debuggers and other "self-aware"
> binaries (you mentioned google-perftools).

http://sourceware.org/ml/archer/2011-q2/msg00000.html
http://sourceware.org/ml/archer/2011-q2/msg00004.html

> Are named probes a good solution for you here?

As I said before, if the stap probe compiles to a single-byte NOP,
then it's hostile to in-process debuggers.  If {un,}map_complete
probes could be made sufficiently "wide" for an in-process debugger to
be able to place a JMP there, that would go a long way to help.


-- 
Paul Pluzhnikov


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]