This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/7033] New: Optimize locking reginon of global variables
- From: "mhiramat at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 14 Nov 2008 23:26:34 -0000
- Subject: [Bug translator/7033] New: Optimize locking reginon of global variables
- Reply-to: sourceware-bugzilla at sourceware dot org
Currently, systemtap locks whole of a probe handler which uses global variables.
However, I think translator can shrink the locking region to the best size.
{
(lock(a) and lock(b))
...
a = xxx <- only here, we actually needs a's lock.
...
if (yyy)
b = zzz <- only here, we actually needs b's lock.
...
(unlock(a) and unlock(b))
}
--
Summary: Optimize locking reginon of global variables
Product: systemtap
Version: unspecified
Status: NEW
Severity: enhancement
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: mhiramat at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=7033
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.