Remove CONFIG_TRACE support.
It was limited to ARMv5, and didn't work correctly. Moreover, it
made integrating upstream changes difficult, so remove it for now.
Change-Id: I7da7a1e00b241d452c6dff5a318ccfedc5d7a8a4
diff --git a/hw/android/android_mips.c b/hw/android/android_mips.c
index 98a082f..a0a3649 100644
--- a/hw/android/android_mips.c
+++ b/hw/android/android_mips.c
@@ -232,23 +232,12 @@
goldfish_add_device_no_io(&nand_device);
nand_dev_init(nand_device.base);
#endif
-#ifdef CONFIG_TRACE
- extern const char *trace_filename;
- /* Init trace device if either tracing, or memory checking is enabled. */
- if (trace_filename != NULL
+
#ifdef CONFIG_MEMCHECK
- || memcheck_enabled
-#endif // CONFIG_MEMCHECK
- ) {
+ if (memcheck_enabled) {
trace_dev_init();
}
- if (trace_filename != NULL) {
- D( "Trace file name is set to %s\n", trace_filename );
- } else {
- D("Trace file name is not set\n");
- }
-#endif
-
+#endif // CONFIG_MEMCHECK
pipe_dev_init();
#if TEST_SWITCH