[RFC PATCH 0/2] powerpc/perf: Implement get_cpu_str()

Sukadev Bhattiprolu
2014-07-24T07:47:44Z

These two patches implement get_cpu_str() for powerpc.

get_cpu_str() will allow users to cache their perf event JSON files
and skip having to specify the --events-file with each perf invocation.

These patches are based on the commit

commit 4a5e890
Author: Andi Kleen <ak@linux.intel.com>
Date: Fri Jun 13 15:14:14 2014 -0700

perf, tools: Add a --no-desc flag to perf list

in Andi Kleen's tree

git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc

At this point, I am mostly looking for feedback on the changes around
cache_cpu_str() and the get_cpu_str().