On Fri, 16 Feb 2024 10:46:43 +0100, Christophe Leroy wrote:
> 'perf list' on powerpc 8xx shows an event named "1:hash_fault".
>
> This event is pointless because trace_hash_fault() is called only
> from mm/book3s64/hash_utils.c
>
> Only define it when CONFIG_PPC_64S_HASH_MMU is selected.
>
>
'perf list' on powerpc 8xx shows an event named "1:hash_fault".
This event is pointless because trace_hash_fault() is called only
from mm/book3s64/hash_utils.c
Only define it when CONFIG_PPC_64S_HASH_MMU is selected.
Signed-off-by: Christophe Leroy
---
arch/powerpc/include/asm/trace.h | 3 ++-