linux/arch/sh/kernel/cpu/sh4
Paul Mundt 2e4f17d230 sh: oprofile: Fix up and extend op_name_from_perf_id().
op_name_from_perf_id() currently returns a local variable, which isn't
terribly productive. As we only handle a single PMU case for now, simply
allocate and free the string from the arch init/exit context and have
op_name_from_perf_id() hand back the cached string.

This also takes UTS_MACHINE in to account, given that we build for
multiple architectures.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2010-10-27 16:51:33 +09:00
..
clock-sh4-202.c sh: switch sh4-202 to clkdev 2010-05-13 17:37:59 +09:00
clock-sh4.c sh: Mass ctrl_in/outX to __raw_read/writeX conversion. 2010-01-26 12:58:40 +09:00
fpu.c sh: Move over to dynamically allocated FPU context. 2010-01-13 12:51:40 +09:00
Makefile sh: Fix up the CONFIG_PERF_EVENTS=n build for SH-4. 2009-11-12 16:20:36 +09:00
perf_event.c sh: oprofile: Fix up and extend op_name_from_perf_id(). 2010-10-27 16:51:33 +09:00
probe.c sh: change PVR of SH7757 for 2nd cut 2010-07-06 17:37:57 +09:00
setup-sh4-202.c sh: Kill off timer clock strings for legacy CPG parts. 2010-03-29 17:25:03 +09:00
setup-sh7750.c sh: Kill off timer clock strings for legacy CPG parts. 2010-03-29 17:25:03 +09:00
setup-sh7760.c sh: Kill off timer clock strings for legacy CPG parts. 2010-03-29 17:25:03 +09:00
softfloat.c sh: __udivdi3 -> do_div() in softfloat lib. 2008-12-22 18:42:53 +09:00
sq.c Driver core: Constify struct sysfs_ops in struct kobj_type 2010-03-07 17:04:49 -08:00