> > 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