Thread safety

Frank Ch. Eigler fche@redhat.com
Thu Feb 3 16:30:00 GMT 2011


mandarwce wrote:

> [...]
> whether the events/ Probes are processed in sequential manner or by
> different threads simultaneously?????

systemtap does not work on the same model as perf.  There is no
enqueuing of events for later handling by userspace or anything.  As
events occur, they are handled immediately by the CPU that encountered
the event.  So pmc hardware events that occur on different CPUs get
handled by the affected CPUs simultaneously.

- FChE



More information about the Systemtap mailing list