Re: [PATCH 16/34] perf, x86: Support weight samples for PEBS

2012-10-23 Thread Andi Kleen
> This looks like it will interfere with Stephane's LL patches -- which > should be out any day now ;-) To be honest I'm tired of waiting for them. They have been vapourware for far too long. I would have rebased on his, but since he never posts (and I do) I think it's reasonable now to require

Re: [PATCH 16/34] perf, x86: Support weight samples for PEBS

2012-10-23 Thread Peter Zijlstra
On Thu, 2012-10-18 at 16:19 -0700, Andi Kleen wrote: > From: Andi Kleen > > When a weighted sample is requested, first try to report the TSX abort cost > on Haswell. If that is not available report the memory latency. This > allows profiling both by abort cost and by memory latencies. > >

Re: [PATCH 16/34] perf, x86: Support weight samples for PEBS

2012-10-23 Thread Peter Zijlstra
On Thu, 2012-10-18 at 16:19 -0700, Andi Kleen wrote: From: Andi Kleen a...@linux.intel.com When a weighted sample is requested, first try to report the TSX abort cost on Haswell. If that is not available report the memory latency. This allows profiling both by abort cost and by memory

Re: [PATCH 16/34] perf, x86: Support weight samples for PEBS

2012-10-23 Thread Andi Kleen
This looks like it will interfere with Stephane's LL patches -- which should be out any day now ;-) To be honest I'm tired of waiting for them. They have been vapourware for far too long. I would have rebased on his, but since he never posts (and I do) I think it's reasonable now to require

[PATCH 16/34] perf, x86: Support weight samples for PEBS

2012-10-18 Thread Andi Kleen
From: Andi Kleen When a weighted sample is requested, first try to report the TSX abort cost on Haswell. If that is not available report the memory latency. This allows profiling both by abort cost and by memory latencies. Memory latencies requires enabling a different PEBS mode (LL). When both

[PATCH 16/34] perf, x86: Support weight samples for PEBS

2012-10-18 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com When a weighted sample is requested, first try to report the TSX abort cost on Haswell. If that is not available report the memory latency. This allows profiling both by abort cost and by memory latencies. Memory latencies requires enabling a different PEBS