This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: about probe libc
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