mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-10-28 20:12:18 +00:00
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> |
||
|---|---|---|
| .. | ||
| clock-sh4-202.c | ||
| clock-sh4.c | ||
| fpu.c | ||
| Makefile | ||
| perf_event.c | ||
| probe.c | ||
| setup-sh4-202.c | ||
| setup-sh7750.c | ||
| setup-sh7760.c | ||
| softfloat.c | ||
| sq.c | ||