Skip to content

Commit

Permalink
xtensa: enable HAVE_PERF_EVENTS
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Baruch Siach authored and Max Filippov committed Jan 14, 2014
1 parent 6cb9711 commit a6f3eef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/xtensa/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions arch/xtensa/include/asm/perf_event.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#ifndef __ASM_XTENSA_PERF_EVENT_H
#define __ASM_XTENSA_PERF_EVENT_H

#endif /* __ASM_XTENSA_PERF_EVENT_H */

0 comments on commit a6f3eef

Please sign in to comment.