Re: [PATCH v6 2/6] perf/x86: add support for sampling PEBS machine state registers

2014-09-24 Thread Peter Zijlstra
On Tue, Sep 23, 2014 at 04:57:45PM +0200, Stephane Eranian wrote: > PEBS can capture machine state regs at retiremnt of the sampled > instructions. When precise sampling is enabled on an event, PEBS > is used, so substitute the interrupted state with the PEBS state. > Note that not all registers ar

[PATCH v6 2/6] perf/x86: add support for sampling PEBS machine state registers

2014-09-23 Thread Stephane Eranian
PEBS can capture machine state regs at retiremnt of the sampled instructions. When precise sampling is enabled on an event, PEBS is used, so substitute the interrupted state with the PEBS state. Note that not all registers are captured by PEBS. Those missing are replaced by the interrupt state coun