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 <suka...@linux.vnet.ibm.com>

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

cheers




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to