public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* about probe libc
@ 2010-08-10  4:49 Huang jw
  2010-08-10  5:27 ` Srikar Dronamraju
  2010-08-10  6:00 ` Roland McGrath
  0 siblings, 2 replies; 7+ messages in thread
From: Huang jw @ 2010-08-10  4:49 UTC (permalink / raw)
  To: systemtap

Hi all,
       I'm trying to probe memcpy from libc. I have installed
debuginfo for libc(glibc-debuginfo-2.5-42.x86_64.rpm), but when I use
the follow systemtap instruction, it reoprted an error.
Instruction list I used:
sudo stap -e 'probe
process("/lib/libc.so.6").function("memcpy").return{println(probfunc())}'
-c 'ls'

Error information:
"
WARNING: cannot find module /lib/libc-2.5.so debuginfo: No DWARF
information found
semantic error: no match while resolving probe point
process("/lib/libc.so.6").function("memcpy").return"

The os I used is REL5.4, libc version is 2.5.42.
Does any one know why?

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-08-11 15:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-10  4:49 about probe libc Huang jw
2010-08-10  5:27 ` Srikar Dronamraju
2010-08-10  5:43   ` Huang jw
2010-08-10  6:03   ` Roland McGrath
2010-08-10  6:00 ` Roland McGrath
2010-08-10  6:32   ` Huang jw
2010-08-11 15:03     ` Frank Ch. Eigler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).