about probe libc

Frank Ch. Eigler fche@redhat.com
Wed Aug 11 15:03:00 GMT 2010


Huang jw <huangjiangwei@gmail.com> writes:

> As you said, it's difficult to trace memcpy by systemtap because of
> inline or Macros. [...]

One more thing worth trying is probing the inlined instances within
the process binary (instead of just the copy in the libc.so), as
in

        probe process("a.out").function("memcpy"),
              process("/lib/libc.5.so").function("memcpy") {
              log($$parms)
        }

The former may catch the synthetic ones.

- FChE



More information about the Systemtap mailing list