Skip to contentSkip to conversation

perf tools: event.h needs asm/perf_regs.h

tip:perf/core tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Jul 13, 2016 perf events

lore
Share & tools
lore
#0 lore raw
Commit-ID:  e083a21fcac9311ca425e600a15332f4792c56cc
Gitweb:     http://git.kernel.org/tip/e083a21fcac9311ca425e600a15332f4792c56cc
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Mon, 11 Jul 2016 10:14:08 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Tue, 12 Jul 2016 15:20:31 -0300

perf tools: event.h needs asm/perf_regs.h

As it uses PERF_REGS_MAX, fix it.

---
 tools/perf/util/event.h | 1 +
 1 file changed, 1 insertion(+)
tools/perf/util/event.h +1 -0
index 8d363d5..b32464b 100644
@@ -8,6 +8,7 @@
 #include "map.h"
 #include "build-id.h"
 #include "perf_regs.h"
+#include <asm/perf_regs.h>
 
 struct mmap_event {
 	struct perf_event_header header;