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: Thread safety


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


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