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]

[Bug runtime/9940] double calling double calling of uprobes in shared libraries


------- Additional Comments From mjw at redhat dot com  2009-03-24 14:08 -------
Unfortunately this seems to cause probing libraries to fail:

$ stap -ve 'probe process("/bin/ls").function("main") { log(pp()); } probe
process("/lib/libc-2.9.so").function("*") { log(pp()); }' -c /bin/ls
Pass 1: parsed user script and 51 library script(s) in 370usr/10sys/368real ms.
Pass 2: analyzed script: 4194 probe(s), 2 function(s), 0 embed(s), 0 global(s)
in 580usr/10sys/607real ms.
Pass 3: translated to C into
"/tmp/stapbUZHx0/stap_843809dfe1ea5d7b533c2e6bfd92db0c_792637.c" in
290usr/140sys/434real ms.
Pass 4, preamble: (re)building SystemTap's version of uprobes.
Pass 4: compiled C into "stap_843809dfe1ea5d7b533c2e6bfd92db0c_792637.ko" in
6470usr/930sys/7618real ms.
Pass 5: starting run.
[... very long pause ...]
ERROR: utrace_detach returned error 115 on pid 31521
WARNING: Number of errors: 0, skipped probes: 4193
Pass 5: run completed in 10usr/65120sys/35972real ms.

Reverting this patch makes this work again.

I'll try to come up with a more contained testcase for our testsuite.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=9940

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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