Re: [PATCH v6 0/6] perf: add ability to sample interrupted machine state

2014-09-24 Thread Stephane Eranian
On Wed, Sep 24, 2014 at 9:49 AM, Peter Zijlstra wrote: > On Tue, Sep 23, 2014 at 04:57:43PM +0200, Stephane Eranian wrote: >> In V6, we added the missing copy of the eflags from the PEBS >> mahcine state (reported by Andi). We fixed some formatting >> issues. We rebased to 3.17-rc6. > > ../arch/x8

Re: [PATCH v6 0/6] perf: add ability to sample interrupted machine state

2014-09-24 Thread Peter Zijlstra
On Tue, Sep 23, 2014 at 04:57:43PM +0200, Stephane Eranian wrote: > In V6, we added the missing copy of the eflags from the PEBS > mahcine state (reported by Andi). We fixed some formatting > issues. We rebased to 3.17-rc6. ../arch/x86/kernel/cpu/perf_event_intel_ds.c: In function ‘__intel_pmu_pe

[PATCH v6 0/6] perf: add ability to sample interrupted machine state

2014-09-23 Thread Stephane Eranian
This short patch series add the ability to sample the interrupted machine state for each hardware sample. This is useful to analyze the state after certain events, for instance for function value profiling after a call instruction. The patch extends the interface with a new PERF_SAMPLE_REGS_INTR