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]

Re: Why systemtap loses events and what can be done about it?


Hi -

On Wed, Sep 05, 2007 at 07:45:09AM -0700, Mike Mason wrote:

> [...]  "why don't we use per cpu variables for anything besides
> aggregations?"  

We have per-cpu trace buffer pieces.  Systemtap script-level local
variables (struct context) is per-cpu and are accessed without
locking.  Systemtap script-level global variables are, well, global
due to the programming model.  Read-mostly variables are accessed
without locks too (see bug #2341).  What other opportunities do you
see?


- FChE


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