]> git.baikalelectronics.ru Git - kernel.git/commit
oprofile: Make op_name_from_perf_id() global
authorMatt Fleming <matt@console-pimps.org>
Fri, 8 Oct 2010 20:42:17 +0000 (21:42 +0100)
committerRobert Richter <robert.richter@amd.com>
Mon, 11 Oct 2010 15:46:15 +0000 (17:46 +0200)
commit3aab01ccc0c4290ce60f8c90372f6012c4b4eaae
treef0534248dc0638894e72e60c16cfb3e8790e48e7
parentc66a1125f13e300e08850549416ba3f87db0d539
oprofile: Make op_name_from_perf_id() global

Make op_name_from_perf_id() global so that we have a way for each
architecture to construct an oprofile name for op->cpu_type. We need to
remove the argument from the function prototype so that we can hide all
implementation details inside the function.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Robert Richter <robert.richter@amd.com>
arch/arm/oprofile/common.c
include/linux/oprofile.h