summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/event.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2016-07-11 10:14:08 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-07-12 15:20:31 -0300
commite083a21fcac9311ca425e600a15332f4792c56cc (patch)
tree4f5edbdd45077e5bf1a564f710a41ba2dc99f40c /tools/perf/util/event.h
parent86695f59c952031e5596f286773d76268f3e3aad (diff)
downloadlinux-e083a21fcac9311ca425e600a15332f4792c56cc.tar.gz
linux-e083a21fcac9311ca425e600a15332f4792c56cc.tar.bz2
linux-e083a21fcac9311ca425e600a15332f4792c56cc.zip
perf tools: event.h needs asm/perf_regs.h
As it uses PERF_REGS_MAX, fix it. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-2t232w0kcqu97xod8t2at2h0@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/event.h')
-rw-r--r--tools/perf/util/event.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h
index 8d363d5e65a2..b32464b353aa 100644
--- a/tools/perf/util/event.h
+++ b/tools/perf/util/event.h
@@ -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;