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

Frank Ch. Eigler fche@redhat.com
Wed Sep 5 16:38:00 GMT 2007


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



More information about the Systemtap mailing list