Question regarding userspace tracing memcpy in glibc

Frank Ch. Eigler fche@redhat.com
Tue Jan 4 18:06:00 GMT 2011


Holger Hans Peter Freyther <holger@freyther.de> writes:

> [...]
> if we leave out the case where the compiler knows the amount to copy, what
> would be the way forward to be able to intercept ASM stubs? Get hand written
> DWARF2 symbols into the glibc code?

That's one possibility.  Another is running "as -g --gdwarf-2", which
I believe glibc does not use that in its build of .s files.  Another
one is http://sourceware.org/PR10208.

> Do you normally discuss these things in bug reports or the
> mailinglist?

Here is a good start.  It does involve other tools too, so we may want
to bring in glibc / gdb types too.

- FChE



More information about the Systemtap mailing list