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

From: Sukadev Bhattiprolu
Date: Thu Jul 24 2014 - 03:47:47 EST



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@xxxxxxxxxxxxxxx>
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().

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