Skip to content

RFC powerpc/perf: Implement get_cpu_str()

Sukadev Bhattiprolu lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2powerpc/perf: include util/util.h and remove stringify macrostools/perf/arch/powerpc/util/header.c+1 -31 reply
2/2powerpc/perf: Implement get_cpu_str()tools/perf/arch/powerpc/util/header.c tools/perf/perf.c tools/perf/perf.h+82 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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 <[email protected]>
	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().