linux/arch/sh
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
..
boards sh64: irq_data conversion. 2010-10-27 15:38:59 +09:00
boot sh: boot kernel with SR.BL set 2010-09-30 09:43:32 +09:00
cchips sh: hd64461: irq_data conversion. 2010-10-27 15:18:15 +09:00
configs sh: Set CONFIG_SYSFS_DEPRECATED_V2=n 2010-09-14 17:35:52 +09:00
drivers sh: pci: Convert to upper/lower_32_bits() helpers. 2010-10-15 06:15:56 +09:00
include sh64: _PAGE_SPECIAL support. 2010-10-27 16:40:19 +09:00
kernel sh: oprofile: Fix up and extend op_name_from_perf_id(). 2010-10-27 16:51:33 +09:00
lib sh: change to new flag variable 2010-09-23 16:18:18 +09:00
lib64 sh64: Kill off special clear_page() implementation. 2009-08-04 17:17:00 +09:00
math-emu sh: wire up perf alignment and emulation faults. 2010-10-13 06:55:26 +09:00
mm sh: lockless get_user_pages_fast() 2010-10-27 16:43:08 +09:00
oprofile sh: oprofile: Fix up and extend op_name_from_perf_id(). 2010-10-27 16:51:33 +09:00
tools sh: add sh7757lcr board support 2010-07-06 17:38:32 +09:00
Kconfig sh: disable deprecated genirq support. 2010-10-27 15:44:19 +09:00
Kconfig.cpu sh: Turn on speculative return for SH7785 and SH7786 2010-02-18 18:54:18 +09:00
Kconfig.debug sh: Remove old early serial console code V2 2009-12-15 12:07:35 +09:00
Makefile sh: mach-sdk7786: update defconfig for compressed kernel image. 2010-04-26 17:45:34 +09:00