]> xenbits.xensource.com Git - qemu-xen-4.3-testing.git/commitdiff
hmp: re-enable trace-file command
authorMichael Roth <mdroth@linux.vnet.ibm.com>
Sun, 2 Oct 2011 13:44:37 +0000 (08:44 -0500)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Mon, 3 Oct 2011 09:55:50 +0000 (10:55 +0100)
Commit 31965ae27bc11e90674be12584bb201b83df5aef reverted a previous
renaming of CONFIG_SIMPLE_TRACE->CONFIG_TRACE_SIMPLE in a couple spots,
leading to trace-file currently being unavailable.

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
hmp-commands.hx
monitor.c

index 9e1cca8e3d26b9648d9bd077cf10c1be8d1565ed..844e6c91e7e64f2927cfb266b7bbf68111d6efbc 100644 (file)
@@ -194,7 +194,7 @@ STEXI
 changes status of a trace event
 ETEXI
 
-#if defined(CONFIG_SIMPLE_TRACE)
+#if defined(CONFIG_TRACE_SIMPLE)
     {
         .name       = "trace-file",
         .args_type  = "op:s?,arg:F?",
index d323ea5851ab0aac06b62341c2ed6000accffe96..08f6197863861284810652388ffbe2de0bb10380 100644 (file)
--- a/monitor.c
+++ b/monitor.c
@@ -606,7 +606,7 @@ static void do_trace_event_set_state(Monitor *mon, const QDict *qdict)
     }
 }
 
-#ifdef CONFIG_SIMPLE_TRACE
+#ifdef CONFIG_TRACE_SIMPLE
 static void do_trace_file(Monitor *mon, const QDict *qdict)
 {
     const char *op = qdict_get_try_str(qdict, "op");