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/7033] New: Optimize locking reginon of global variables


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.


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