This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/10655] New: SDT semaphores should be prepared for multiple tasks per probe
- From: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 18 Sep 2009 02:49:16 -0000
- Subject: [Bug tapsets/10655] New: SDT semaphores should be prepared for multiple tasks per probe
- Reply-to: sourceware-bugzilla at sourceware dot org
We shouldn't be keeping a tsk field in stap_uprobe_spec or stap_utrace_probe,
because each of those may get many tasks associated with them. The XXX comments
added in commit a9b59347 show the places where this is happening. Instead, we
should be poking the semaphores when we are detaching from each task at the end
of the script. I think task finder may need to be expanded to give the right
callbacks here.
Task death is also a consideration, though it won't matter whether the semaphore
is adjusted in that case. We just need to make sure we don't try to adjust the
semaphore *after* death, when the memory doesn't exist anymore.
--
Summary: SDT semaphores should be prepared for multiple tasks per
probe
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: tapsets
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: jistone at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10655
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.