Re: [PATCH V9 7/8] perf, x86: introduce PERF_RECORD_LOST_SAMPLES

2015-05-11 Thread Arnaldo Carvalho de Melo
Em Sun, May 10, 2015 at 03:13:14PM -0400, Kan Liang escreveu: > From: Kan Liang > > After enlarging the PEBS interrupt threshold, there may be some mixed up > PEBS samples which are discarded by kernel. This patch drives the kernel > to emit a PERF_RECORD_LOST_SAMPLES record with the number of

Re: [PATCH V9 7/8] perf, x86: introduce PERF_RECORD_LOST_SAMPLES

2015-05-11 Thread Arnaldo Carvalho de Melo
Em Sun, May 10, 2015 at 03:13:14PM -0400, Kan Liang escreveu: From: Kan Liang kan.li...@intel.com After enlarging the PEBS interrupt threshold, there may be some mixed up PEBS samples which are discarded by kernel. This patch drives the kernel to emit a PERF_RECORD_LOST_SAMPLES record with

[PATCH V9 7/8] perf, x86: introduce PERF_RECORD_LOST_SAMPLES

2015-05-10 Thread Kan Liang
From: Kan Liang After enlarging the PEBS interrupt threshold, there may be some mixed up PEBS samples which are discarded by kernel. This patch drives the kernel to emit a PERF_RECORD_LOST_SAMPLES record with the number of possible discards when it is impossible to demux the samples. It makes

[PATCH V9 7/8] perf, x86: introduce PERF_RECORD_LOST_SAMPLES

2015-05-10 Thread Kan Liang
From: Kan Liang kan.li...@intel.com After enlarging the PEBS interrupt threshold, there may be some mixed up PEBS samples which are discarded by kernel. This patch drives the kernel to emit a PERF_RECORD_LOST_SAMPLES record with the number of possible discards when it is impossible to demux the