Re: [1/5] powerpc/perf: Drop the branch sample when 'from' cannot be fetched

2015-09-30 Thread Michael Ellerman
On Wed, 2015-09-30 at 14:33 +0530, Anshuman Khandual wrote: > On 07/28/2015 08:38 AM, Anshuman Khandual wrote: > > On 07/27/2015 09:49 AM, Michael Ellerman wrote: > >> > On Tue, 2015-30-06 at 08:20:27 UTC, Anshuman Khandual wrote: > >>> >> BHRB (Branch History Rolling Buffer) is a rolling buffer. H

Re: [1/5] powerpc/perf: Drop the branch sample when 'from' cannot be fetched

2015-09-30 Thread Anshuman Khandual
On 07/28/2015 08:38 AM, Anshuman Khandual wrote: > On 07/27/2015 09:49 AM, Michael Ellerman wrote: >> > On Tue, 2015-30-06 at 08:20:27 UTC, Anshuman Khandual wrote: >>> >> BHRB (Branch History Rolling Buffer) is a rolling buffer. Hence we >>> >> might end up in a situation where we have read one ta

Re: [1/5] powerpc/perf: Drop the branch sample when 'from' cannot be fetched

2015-07-27 Thread Anshuman Khandual
On 07/27/2015 09:49 AM, Michael Ellerman wrote: > On Tue, 2015-30-06 at 08:20:27 UTC, Anshuman Khandual wrote: >> BHRB (Branch History Rolling Buffer) is a rolling buffer. Hence we >> might end up in a situation where we have read one target address >> but when we try to read the next entry indicat

Re: [1/5] powerpc/perf: Drop the branch sample when 'from' cannot be fetched

2015-07-26 Thread Michael Ellerman
On Tue, 2015-30-06 at 08:20:27 UTC, Anshuman Khandual wrote: > BHRB (Branch History Rolling Buffer) is a rolling buffer. Hence we > might end up in a situation where we have read one target address > but when we try to read the next entry indicating the from address > of the target address, the buf

[PATCH 1/5] powerpc/perf: Drop the branch sample when 'from' cannot be fetched

2015-06-30 Thread Anshuman Khandual
BHRB (Branch History Rolling Buffer) is a rolling buffer. Hence we might end up in a situation where we have read one target address but when we try to read the next entry indicating the from address of the target address, the buffer just overflows. In this case, the captured from address will be z