linux-stable/arch/sh/oprofile
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
..
backtrace.c sh: oprofile: Kill off dead valid_kernel_stack(). 2009-08-14 04:59:50 +09:00
common.c sh: oprofile: Fix up and extend op_name_from_perf_id(). 2010-10-27 16:51:33 +09:00
Makefile sh: oprofile: Fix up and extend op_name_from_perf_id(). 2010-10-27 16:51:33 +09:00