summaryrefslogtreecommitdiff
path: root/tools/perf/util/intel-pt-decoder/insn.c
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2015-08-21 22:05:58 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-08-22 18:27:07 +0300
commit5839a5506de30c23d4cfaf49755cd294f5c48368 (patch)
tree0d4ae915c8ed0bb110c6472eb8a6e7f83c966707 /tools/perf/util/intel-pt-decoder/insn.c
parent0e53909a1cf0153736fb52c216558a65530d8c40 (diff)
downloadlinux-5839a5506de30c23d4cfaf49755cd294f5c48368.tar.xz
perf tools: Fix tarball build broken by pt/bts
Fix some include paths and add missing inat_types.h. Reported-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Link: http://lkml.kernel.org/r/55D77696.60102@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/intel-pt-decoder/insn.c')
-rw-r--r--tools/perf/util/intel-pt-decoder/insn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/intel-pt-decoder/insn.c b/tools/perf/util/intel-pt-decoder/insn.c
index 8f72b334aea0..47314a64399c 100644
--- a/tools/perf/util/intel-pt-decoder/insn.c
+++ b/tools/perf/util/intel-pt-decoder/insn.c
@@ -23,8 +23,8 @@
#else
#include <string.h>
#endif
-#include <asm/inat.h>
-#include <asm/insn.h>
+#include "inat.h"
+#include "insn.h"
/* Verify next sizeof(t) bytes can be on the same instruction */
#define validate_next(t, insn, n) \