xtensa: enable HAVE_PERF_EVENTS
authorBaruch Siach <baruch@tkos.co.il>
Thu, 28 Nov 2013 16:00:04 +0000 (18:00 +0200)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 14 Jan 2014 20:27:03 +0000 (00:27 +0400)
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>
arch/xtensa/Kconfig
arch/xtensa/include/asm/perf_event.h [new file with mode: 0644]

index 49d2e843552b6b6a65f5b0bbf65ab4338e47de29..c3ccf379289a5f88840642063386bbac1c3e5c4d 100644 (file)
@@ -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 (file)
index 0000000..5aa4590
--- /dev/null
@@ -0,0 +1,4 @@
+#ifndef __ASM_XTENSA_PERF_EVENT_H
+#define __ASM_XTENSA_PERF_EVENT_H
+
+#endif /* __ASM_XTENSA_PERF_EVENT_H */