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)
commit56946331b28d53232115a155ba662ab3dc598952
treef0534248dc0638894e72e60c16cfb3e8790e48e7
parent84c7991059c9c4530cc911137c5bf508a41ed129
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