Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

xtensa: enable HAVE_PERF_EVENTS

This allows the perf tool to monitor kernel tracepoint events.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>

authored by

Baruch Siach and committed by
Max Filippov
a6f3eefa 6cb97111

+5
+1
arch/xtensa/Kconfig
··· 19 19 select HAVE_OPROFILE 20 20 select HAVE_FUNCTION_TRACER 21 21 select HAVE_IRQ_TIME_ACCOUNTING 22 + select HAVE_PERF_EVENTS 22 23 help 23 24 Xtensa processors are 32-bit RISC machines designed by Tensilica 24 25 primarily for embedded systems. These processors are both
+4
arch/xtensa/include/asm/perf_event.h
··· 1 + #ifndef __ASM_XTENSA_PERF_EVENT_H 2 + #define __ASM_XTENSA_PERF_EVENT_H 3 + 4 + #endif /* __ASM_XTENSA_PERF_EVENT_H */