This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/10741] New: Merge tandem locks
- From: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 6 Oct 2009 20:20:44 -0000
- Subject: [Bug translator/10741] New: Merge tandem locks
- Reply-to: sourceware-bugzilla at sourceware dot org
Since we treat probes atomically, and all locks are grabbed at once, we should
be able to merge locks that are used in identical probe sets. For example,
global A, B
probe syscall.* { println(++A * (B += 2)) }
Each probe here will always grab locks for both A and B, so we might as well
have a single AB lock. They need not have identical R/W characteristics to be
joined -- just use W in each case if any of the single locks would have been W.
--
Summary: Merge tandem locks
Product: systemtap
Version: unspecified
Status: NEW
Severity: enhancement
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: jistone at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10741
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.