This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Concurrent userspace probes targeting same location
On 07/03/2012 04:37 PM, Wade Farnsworth wrote:
> David Smith wrote:
>> Running multiple return probes at the same location in the same script
>> should work.
I've duplicated your problem. This is quite odd, especially since both
probes are getting inserted at the exact same address (0x8x520), as
shown by the following "stap -p2" output:
# stap -p2 -d /bin/ls ../ls_malloc.stp -c ls | more
...
# probes
process("/lib64/libc-2.14.90.so").function("__libc_malloc@/usr/src/debug/glibc-2.14-394-g8f3b1ff/malloc/malloc.c:2913").return?
/* pc=.dynamic+0x82520 */ /* <-
process("/bin/ls").library("libc.so.6").function("malloc").return? =
process("/bin/ls").library("/lib64/libc-2.14.90.so").function("malloc").return?
<- process("/bin/ls").library("libc.so.6").function("malloc").return */
process("/lib64/libc-2.14.90.so").function("__libc_malloc@/usr/src/debug/glibc-2.14-394-g8f3b1ff/malloc/malloc.c:2913").return?
/* pc=.dynamic+0x82520 */ /* <-
process("/bin/ls").library("libc.so.6").function("malloc").return? =
process("/bin/ls").library("/lib64/libc-2.14.90.so").function("malloc").return?
<- process("/bin/ls").library("libc.so.6").function("malloc").return */
--
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)