提交 c45a8168 编写于 作者: M Michael Roth 提交者: Stefan Hajnoczi

hmp: re-enable trace-file command

Commit 31965ae2 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: NMichael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
上级 d11cf8cc
...@@ -194,7 +194,7 @@ STEXI ...@@ -194,7 +194,7 @@ STEXI
changes status of a trace event changes status of a trace event
ETEXI ETEXI
#if defined(CONFIG_SIMPLE_TRACE) #if defined(CONFIG_TRACE_SIMPLE)
{ {
.name = "trace-file", .name = "trace-file",
.args_type = "op:s?,arg:F?", .args_type = "op:s?,arg:F?",
......
...@@ -606,7 +606,7 @@ static void do_trace_event_set_state(Monitor *mon, const QDict *qdict) ...@@ -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) static void do_trace_file(Monitor *mon, const QDict *qdict)
{ {
const char *op = qdict_get_try_str(qdict, "op"); const char *op = qdict_get_try_str(qdict, "op");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册