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

From: Andi Kleen
Date: Thu Jun 15 2017 - 19:18:27 EST


> Looking at this approach, the user interface is straightforward,
> implementation in the x86 code is a bit more hairy because of the way
> the branch_stack is captured, via the cpuc->lbr_entries. If you assume
> that SKID_IP cannot be used with any other branch stack mode, then it
> is easy. It becomes messy if you don't.

That should be fine. After all if you have real LBRs you don't need
the skid IP.

-Andi