perf tools: Fix tarball build broken by pt/bts
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 21 Aug 2015 19:05:58 +0000 (22:05 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 22 Aug 2015 15:27:07 +0000 (12:27 -0300)
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>
tools/perf/util/intel-pt-decoder/inat.c
tools/perf/util/intel-pt-decoder/inat.h
tools/perf/util/intel-pt-decoder/inat_types.h [new file with mode: 0644]
tools/perf/util/intel-pt-decoder/insn.c
tools/perf/util/intel-pt-decoder/insn.h
tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c

index feeaa50..906d94a 100644 (file)
@@ -18,7 +18,7 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  *
  */
-#include <asm/insn.h>
+#include "insn.h"
 
 /* Attribute tables are generated from opcode map */
 #include "inat-tables.c"