Re: Add top down metrics to perf stat

From: Jiri Olsa
Date: Sun Mar 27 2016 - 07:28:36 EST


On Tue, Mar 22, 2016 at 04:08:46PM -0700, Andi Kleen wrote:

SNIP

> In this case perf stat automatically enables --per-core mode and also requires
> global mode (-a) and avoiding other filters (no cgroup mode)
>
> When Hyper Threading is off this can be overriden with the --single-thread
> option. When Hyper Threading is on it is enforced, the only way to
> not require -a here is to off line the logical CPUs of the second
> threads.
>
> One side effect is that this may require root rights or a
> kernel.perf_event_paranoid=-1 setting.
>
> Full tree available in
> git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc perf/top-down-16
>

can't see this one (-16):

[jolsa@krava perf]$ git remote update ak
Fetching ak
[jolsa@krava perf]$ git branch -r | grep top-down
ak/perf/top-down-10
ak/perf/top-down-11
ak/perf/top-down-13
ak/perf/top-down-2

thanks,
jirka