diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-07-11 09:14:08 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-07-12 14:20:31 -0400 |
commit | e083a21fcac9311ca425e600a15332f4792c56cc (patch) | |
tree | 4f5edbdd45077e5bf1a564f710a41ba2dc99f40c | |
parent | 86695f59c952031e5596f286773d76268f3e3aad (diff) |
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>
-rw-r--r-- | tools/perf/util/event.h | 1 |
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 @@ | |||
8 | #include "map.h" | 8 | #include "map.h" |
9 | #include "build-id.h" | 9 | #include "build-id.h" |
10 | #include "perf_regs.h" | 10 | #include "perf_regs.h" |
11 | #include <asm/perf_regs.h> | ||
11 | 12 | ||
12 | struct mmap_event { | 13 | struct mmap_event { |
13 | struct perf_event_header header; | 14 | struct perf_event_header header; |