aboutsummaryrefslogtreecommitdiffstats
path: root/hw/android_arm.c
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2010-02-25 11:13:50 -0800
committerDavid 'Digit' Turner <digit@google.com>2010-02-25 11:13:50 -0800
commit6d306b2b2d3df6b2a6d9518947aebfde166e879b (patch)
tree7c3350688465a14a67f9d24044a6090f5fa5abf0 /hw/android_arm.c
parent5389aa19033153c09556d1362a8b8a56abccb8f5 (diff)
downloadexternal_qemu-6d306b2b2d3df6b2a6d9518947aebfde166e879b.zip
external_qemu-6d306b2b2d3df6b2a6d9518947aebfde166e879b.tar.gz
external_qemu-6d306b2b2d3df6b2a6d9518947aebfde166e879b.tar.bz2
Make trace filename message only display with -debug-init / -verbose
Diffstat (limited to 'hw/android_arm.c')
-rw-r--r--hw/android_arm.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/hw/android_arm.c b/hw/android_arm.c
index d656b81..ce36c8f 100644
--- a/hw/android_arm.c
+++ b/hw/android_arm.c
@@ -24,6 +24,10 @@
#include "memcheck/memcheck_api.h"
#endif // CONFIG_MEMCHECK
+#include "android/utils/debug.h"
+
+#define D(...) VERBOSE_PRINT(init,__VA_ARGS__)
+
#define ARM_CPU_SAVE_VERSION 1
char* audio_input_source = NULL;
@@ -154,9 +158,9 @@ static void android_arm_init_(ram_addr_t ram_size,
trace_dev_init();
}
if (trace_filename != NULL) {
- dprint( "Trace file name is set to %s\n", trace_filename );
+ D( "Trace file name is set to %s\n", trace_filename );
} else {
- dprint("Trace file name is not set\n");
+ D("Trace file name is not set\n");
}
#endif