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 translator/10741] New: Merge tandem locks


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.


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