aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xentrace
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2012-05-30 08:57:48 +0100
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2012-05-30 08:57:48 +0100
commit8e3d1ae55930dd8d718fe610d26ed7c784d34584 (patch)
treef53e38bfa4512f4df7b299ad5227da9ab692f180 /tools/xentrace
parentdd08a7f12fe6b115c4a1209b0c9b81ba472c5249 (diff)
downloadxen-8e3d1ae55930dd8d718fe610d26ed7c784d34584.tar.gz
xen-8e3d1ae55930dd8d718fe610d26ed7c784d34584.tar.bz2
xen-8e3d1ae55930dd8d718fe610d26ed7c784d34584.zip
arm: compile xentrace
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/xentrace')
-rw-r--r--tools/xentrace/xenctx.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/xentrace/xenctx.c b/tools/xentrace/xenctx.c
index a12cc219e4..530ef6525e 100644
--- a/tools/xentrace/xenctx.c
+++ b/tools/xentrace/xenctx.c
@@ -60,6 +60,12 @@ int disp_ar_regs;
int disp_br_regs;
int disp_bank_regs;
int disp_tlb;
+
+#elif defined(__arm__)
+#define NO_TRANSLATION
+typedef uint64_t guest_word_t;
+#define FMT_32B_WORD "%08llx"
+#define FMT_64B_WORD "%016llx"
#endif
struct symbol {
@@ -678,6 +684,12 @@ void print_ctx(vcpu_guest_context_any_t *ctx)
print_tr(i, &tr->dtrs[i]);
}
}
+#elif defined(__arm__)
+static void print_ctx(vcpu_guest_context_any_t *ctx)
+{
+ /* XXX: properly implement this */
+ print_symbol(0);
+}
#endif
#ifndef NO_TRANSLATION