perf tools: event.h needs asm/perf_regs.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 11 Jul 2016 13:14:08 +0000 (10:14 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Jul 2016 18:20:31 +0000 (15:20 -0300)
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>
tools/perf/util/event.h

index 8d363d5e65a2e14c019fd18a6129ceef7b1538c3..b32464b353aa4d6c704c7fc5c5584c4003756aec 100644 (file)
@@ -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;