linux/arch/sh/kernel/cpu
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
..
irq sh64: irq_data conversion. 2010-10-27 15:38:59 +09:00
sh2 sh: Tidy CPU probing and fixup section annotations. 2010-04-21 12:01:06 +09:00
sh2a sh: Tidy CPU probing and fixup section annotations. 2010-04-21 12:01:06 +09:00
sh3 sh: Tidy CPU probing and fixup section annotations. 2010-04-21 12:01:06 +09:00
sh4 sh: oprofile: Fix up and extend op_name_from_perf_id(). 2010-10-27 16:51:33 +09:00
sh4a sh: oprofile: Fix up and extend op_name_from_perf_id(). 2010-10-27 16:51:33 +09:00
sh5 sh: Tidy CPU probing and fixup section annotations. 2010-04-21 12:01:06 +09:00
shmobile sh: SH-Mobile R-standby register save/restore 2010-02-26 15:29:26 +09:00
adc.c sh: Mass ctrl_in/outX to __raw_read/writeX conversion. 2010-01-26 12:58:40 +09:00
clock-cpg.c sh: move sh clock-cpg.c contents to drivers/sh/clk-cpg.c 2010-05-13 17:39:22 +09:00
clock.c sh: move sh clock.c contents to drivers/sh/clk. 2010-05-13 17:39:14 +09:00
fpu.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
hwblk.c sh: hwblk index rework 2010-05-11 11:48:31 +09:00
init.c sh: Expose physical addressing mode through cpuinfo. 2010-10-26 14:44:58 +09:00
Makefile sh: move sh clock-cpg.c contents to drivers/sh/clk-cpg.c 2010-05-13 17:39:22 +09:00