ARM: perf: remove spaces in CPU PMU names
authorSudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
Tue, 25 Sep 2012 16:36:12 +0000 (17:36 +0100)
committerJon Medhurst <tixy@linaro.org>
Wed, 17 Jul 2013 10:12:04 +0000 (11:12 +0100)
commit8bfe4a20999615b0de1c32c1e4b3dab5595c2432
tree65cf1e78aea310ee1eacea72b7c8ffc28aed5ea4
parent1dac19a45f78e52edb3c29464ce25379aae8d4ab
ARM: perf: remove spaces in CPU PMU names

The userspace perf tool provides options to specify PMU names from command
line for the event. An example of pmu event syntax would be
(<pmu_name>/<config>/<modifier>)
However the parser in the perf tool breaks the tokens at spacesand fails to
identify the PMU name with spaces correctly.

This patch removes spaces in the ARMv7 CPU PMU names.

Signed-off-by: Sudeep KarkadaNagesha <sudeep.karkadanagesha@arm.com>
arch/arm/kernel/perf_event_v7.c