Re: [PATCH] perf report: Fix wrong LBR block sorting

2021-04-07 Thread Arnaldo Carvalho de Melo
Em Wed, Apr 07, 2021 at 06:49:57AM -0700, Andi Kleen escreveu: > > Now the hottest block is reported at the top of output. > > > > Fixes: b65a7d372b1a ("perf hist: Support block formats with > > compare/sort/display") > > Signed-off-by: Jin Yao > > > Reviewed-by: Andi Kleen Thanks, applied.

Re: [PATCH] perf report: Fix wrong LBR block sorting

2021-04-07 Thread Andi Kleen
> Now the hottest block is reported at the top of output. > > Fixes: b65a7d372b1a ("perf hist: Support block formats with > compare/sort/display") > Signed-off-by: Jin Yao Reviewed-by: Andi Kleen -Andi

[PATCH] perf report: Fix wrong LBR block sorting

2021-04-06 Thread Jin Yao
When '--total-cycles' is specified, it supports sorting for all blocks by 'Sampled Cycles%'. This is useful to concentrate on the globally hottest blocks. 'Sampled Cycles%' - block sampled cycles aggregation / total sampled cycles But in current code, it doesn't use the cycles aggregation. Part o