Re: Add fine grained sampled metrics for perf script

2017-11-23 Thread Arnaldo Carvalho de Melo
Em Thu, Nov 23, 2017 at 08:47:42AM +0100, Jiri Olsa escreveu: > On Fri, Nov 17, 2017 at 01:42:57PM -0800, Andi Kleen wrote: > > SNIP > > > TopDown: > > > > Note TopDown requires disabling SMT if you have it enabled (e.g. by > > offlining > > the extra CPUs), because SMT would require sampling p

Re: Add fine grained sampled metrics for perf script

2017-11-22 Thread Jiri Olsa
On Fri, Nov 17, 2017 at 01:42:57PM -0800, Andi Kleen wrote: SNIP > TopDown: > > Note TopDown requires disabling SMT if you have it enabled (e.g. by offlining > the extra CPUs), because SMT would require sampling per core, which is not > supported. > > $ perf record -e '{ref-cycles,topdown-fetc

Add fine grained sampled metrics for perf script

2017-11-17 Thread Andi Kleen
This patch kit adds perf script support for computing metrics for sampled groups. This allows much more fine grained metrics measurement than perf stat allows, because the metrics can be at PMI granularity instead of a slow timer. Also the kernel does the sampling in this case which has much less

Add fine grained sampled metrics for perf script

2017-11-16 Thread Andi Kleen
This patch kit adds perf script support for computing metrics for sampled groups. This allows much more fine grained metrics measurement than perf stat allows, because the metrics can be at PMI granularity instead of a slow timer. Also the kernel does the sampling in this case which has much less

Add fine grained sampled metrics for perf script

2017-11-09 Thread Andi Kleen
This patch kit adds perf script support for computing metrics for sampled groups. This allows much more fine grained metrics measurement than perf stat allows. The patchkit contains one extra bug fix (add missing documentation) This allows things like fine grained IPC tracking. Note that the met