From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:53101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAMLw-00008U-Uw for qemu-devel@nongnu.org; Sun, 02 Oct 2011 09:45:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RAMLv-0001oV-T1 for qemu-devel@nongnu.org; Sun, 02 Oct 2011 09:45:12 -0400 Received: from mout.perfora.net ([74.208.4.194]:58968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAMLv-0001k0-Oq for qemu-devel@nongnu.org; Sun, 02 Oct 2011 09:45:11 -0400 From: Michael Roth Date: Sun, 2 Oct 2011 08:44:37 -0500 Message-Id: <1317563077-9717-1-git-send-email-mdroth@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH] hmp: re-enable trace-file command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: stefanha@linux.vnet.ibm.com 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 --- hmp-commands.hx | 2 +- monitor.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hmp-commands.hx b/hmp-commands.hx index 9e1cca8..844e6c9 100644 --- a/hmp-commands.hx +++ b/hmp-commands.hx @@ -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?", diff --git a/monitor.c b/monitor.c index 8ec2c5e..4f5335e 100644 --- a/monitor.c +++ b/monitor.c @@ -605,7 +605,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"); -- 1.7.4.1