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


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