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

2014-09-05 Thread Stephane Eranian
On Fri, Sep 5, 2014 at 12:35 PM, Ingo Molnar wrote: > > * 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 t

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

2014-09-05 Thread Ingo Molnar
* 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 are captured by PEBS. Those missing > a

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

2014-09-04 Thread Stephane Eranian
On Fri, Sep 5, 2014 at 4:16 AM, Chuck Ebbert wrote: > On Wed, 3 Sep 2014 16:59:07 +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 sta

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

2014-09-04 Thread Chuck Ebbert
On Wed, 3 Sep 2014 16:59:07 +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 are cap

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

2014-09-03 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