From: Baruch Siach Date: Thu, 28 Nov 2013 16:00:04 +0000 (+0200) Subject: xtensa: enable HAVE_PERF_EVENTS X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a6f3eefad8d1c9abd98fa03ba2b3abeb708e3b95;p=linux-beck.git xtensa: enable HAVE_PERF_EVENTS This allows the perf tool to monitor kernel tracepoint events. Signed-off-by: Baruch Siach Signed-off-by: Max Filippov --- diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig index 49d2e843552b..c3ccf379289a 100644 --- a/arch/xtensa/Kconfig +++ b/arch/xtensa/Kconfig @@ -19,6 +19,7 @@ config XTENSA select HAVE_OPROFILE select HAVE_FUNCTION_TRACER select HAVE_IRQ_TIME_ACCOUNTING + select HAVE_PERF_EVENTS help Xtensa processors are 32-bit RISC machines designed by Tensilica primarily for embedded systems. These processors are both diff --git a/arch/xtensa/include/asm/perf_event.h b/arch/xtensa/include/asm/perf_event.h new file mode 100644 index 000000000000..5aa4590acaae --- /dev/null +++ b/arch/xtensa/include/asm/perf_event.h @@ -0,0 +1,4 @@ +#ifndef __ASM_XTENSA_PERF_EVENT_H +#define __ASM_XTENSA_PERF_EVENT_H + +#endif /* __ASM_XTENSA_PERF_EVENT_H */