perf: compile for arm until perf has arm64 support

Change-Id: I1274b6e51c54b0f16ce1db8cdcefca213460e3dc
diff --git a/perf-3.12.0/tools/perf/Android.mk b/perf-3.12.0/tools/perf/Android.mk
index 2eb8136..0709357 100644
--- a/perf-3.12.0/tools/perf/Android.mk
+++ b/perf-3.12.0/tools/perf/Android.mk
@@ -25,12 +25,19 @@
 
 ifdef cur_platform
 
+perf_arch := $(TARGET_ARCH)
+# HACK: use arm on arm64 until perf has arm64 support
+ifeq ($(TARGET_ARCH),arm64)
+$(warning TODOArm64: add arm64 support to perf)
+perf_arch := arm
+endif
+
 #
 # target libperf
 #
 libperf_src_files := \
 	arch/common.c \
-	arch/$(TARGET_ARCH)/util/dwarf-regs.c \
+	arch/$(perf_arch)/util/dwarf-regs.c \
 	tests/attr.c \
 	ui/helpline.c \
 	ui/hist.c \