Re: [PATCH 0/5] perf: add support for capturing skid IP

Andi Kleen
2017-06-16T17:50:23Z

> > Yeah, I think it is easier and more portable, especially on hardware with a
> > PEBS-like mechanism but no branch buffer (like LBR). FYI, I did do a test
> > implementation yesterday to evaluate the difficulty.
> >
> A more generalized usage of the feature is to evaluate the amount of skid
> for any precise event.

It should be always the same (one instruction), except for the control flow
change case.

-Andi