public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/9940] New: double calling double calling of uprobes in shared libraries
@ 2009-03-12  6:29 fche at redhat dot com
  2009-03-17 16:53 ` [Bug runtime/9940] " wenji dot huang at oracle dot com
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: fche at redhat dot com @ 2009-03-12  6:29 UTC (permalink / raw)
  To: systemtap

On 2.6.27.* fedora kernels, scripts that probe shared libraries
seem to receive double uprobe callbacks per event.

sudo stap -DDEBUG_TASK_FINDER -DDEBUG_TASK_FINDER_VMA -DDEBUG_UPROBES -e 'probe
process ("/lib64/libpthread.so.0").function("__sigaddset") {log(probefunc() . "
" . $$parms)}' -c ls

Running this shows two calls to __sigaddset even though only one is appropriate.
In "dmesg", there are duplicated uprobes register/unregister calls.

....
-uprobe spec 0 index 0 pid 31445 addr 000000302d805455
-uprobe spec 1 index 1 pid 31445 addr 000000302d8074ef
-uprobe spec 0 index 2 pid 31445 addr 000000302d805455
-uprobe spec 1 index 3 pid 31445 addr 000000302d8074ef
-uprobe spec 0 index 4 pid 31445 addr 000000302d805455

I suspect a problem either with task-finder or the translator-generated
uprobes registration loops.

-- 
           Summary: double calling double calling of uprobes in shared
                    libraries
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


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.

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

end of thread, other threads:[~2009-03-31 21:32 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-12  6:29 [Bug runtime/9940] New: double calling double calling of uprobes in shared libraries fche at redhat dot com
2009-03-17 16:53 ` [Bug runtime/9940] " wenji dot huang at oracle dot com
2009-03-17 19:33 ` fche at redhat dot com
2009-03-18 14:58 ` wenji dot huang at oracle dot com
2009-03-18 15:15 ` wenji dot huang at oracle dot com
2009-03-18 15:28 ` wenji dot huang at oracle dot com
2009-03-19 15:09 ` mjw at redhat dot com
2009-03-20  3:39 ` wenji dot huang at oracle dot com
2009-03-24 15:13 ` mjw at redhat dot com
2009-03-24 23:24 ` mjw at redhat dot com
2009-03-26  6:08 ` dsmith at redhat dot com
2009-03-26 22:58 ` dsmith at redhat dot com
2009-03-26 22:58 ` dsmith at redhat dot com
2009-03-31 23:56 ` fche at redhat dot com

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).