mirror of
https://github.com/torvalds/linux.git
synced 2026-07-14 17:31:37 +02: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> |
||
|---|---|---|
| .. | ||
| irq | ||
| sh2 | ||
| sh2a | ||
| sh3 | ||
| sh4 | ||
| sh4a | ||
| sh5 | ||
| shmobile | ||
| adc.c | ||
| clock-cpg.c | ||
| clock.c | ||
| fpu.c | ||
| hwblk.c | ||
| init.c | ||
| Makefile | ||