From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:55080) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAgjb-0000vR-Py for qemu-devel@nongnu.org; Mon, 03 Oct 2011 07:31:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RAgja-0005AK-SC for qemu-devel@nongnu.org; Mon, 03 Oct 2011 07:30:59 -0400 Received: from mtagate2.uk.ibm.com ([194.196.100.162]:55301) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAgja-00059v-JL for qemu-devel@nongnu.org; Mon, 03 Oct 2011 07:30:58 -0400 Received: from d06nrmr1707.portsmouth.uk.ibm.com (d06nrmr1707.portsmouth.uk.ibm.com [9.149.39.225]) by mtagate2.uk.ibm.com (8.13.1/8.13.1) with ESMTP id p93BUveY019471 for ; Mon, 3 Oct 2011 11:30:57 GMT Received: from d06av06.portsmouth.uk.ibm.com (d06av06.portsmouth.uk.ibm.com [9.149.37.217]) by d06nrmr1707.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p93BUvGY1839176 for ; Mon, 3 Oct 2011 12:30:57 +0100 Received: from d06av06.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av06.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p93IUvWG032316 for ; Mon, 3 Oct 2011 12:30:57 -0600 From: Stefan Hajnoczi Date: Mon, 3 Oct 2011 12:30:43 +0100 Message-Id: <1317641447-8084-2-git-send-email-stefanha@linux.vnet.ibm.com> In-Reply-To: <1317641447-8084-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1317641447-8084-1-git-send-email-stefanha@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 1/4] hmp: re-enable trace-file command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Anthony Liguori , Michael Roth , Stefan Hajnoczi From: Michael Roth 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 Signed-off-by: Stefan Hajnoczi --- 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 d323ea5..08f6197 100644 --- 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"); -- 1.7.6.3