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: Some newbie questions


Avi Kivity <avi@scylladb.com> writes:

> [...]
> I'm surprised this didn't come up before.  Trying to find out why a
> function which is usually fast and very rarely slow seems to be a good
> fit for systemtap.

Like this?
https://sourceware.org/systemtap/examples/#profiling/fntimes.stp

Note though that such analysis probably cannot be performed based only
upon PC samples - or even backtrace samples.  We seem to require
trapping individual function entry/exit events.

- FChE


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