lkml.org 
[lkml]   [2014]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v3] powerpc/perf: Implement get_cpu_str()
From
Date
On Mon, 2014-08-18 at 17:08 -0700, Sukadev Bhattiprolu wrote:
> powerpc/perf: Implement get_cpu_str()
>
> With a file ~/.cache/pmu-events/004d0100-core.json describing Power8
> PMU events we would need to run:
>
> perf stat \
> --events-file ~/.cache/pmu-events/004d0100-core.json \
> -e PM_CYC sleep 1
>
> With this get_cpu_str(), On Powerpc, we can skip the --events-file option
> and run:
>
> perf stat -e PM_CYC sleep 1
>
> Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>

Acked-by: Michael Ellerman <mpe@ellerman.id.au>

cheers






\
 
 \ /
  Last update: 2014-08-20 09:01    [W:0.270 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site