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/10795] New: percpu globals


It would be nice to have global variables that are explicitly percpu.  You can
effectively to this already with a map and a cpu() index, but we could make it
completely lockless if it is a native feature.

I'm imagining this as an extension to the "global" keyword -- either as some
sort of attribute, or perhaps a new "cpu_global" keyword.  The implementation
could be simply a percpu_globals struct, or maybe even stuffed into our percpu
context struct.

We may also want {begin,end,error}.percpu probes for initializing / reporting
such globals.

-- 
           Summary: percpu globals
           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=10795

------- 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]