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 <[email protected]>
Acked-by: Michael Ellerman <[email protected]> cheers -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

