mirror of
https://git.proxmox.com/git/qemu
synced 2025-10-04 20:17:54 +00:00
hmp: re-enable trace-file command
Commit 31965ae27b
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>
This commit is contained in:
parent
d11cf8cc80
commit
c45a81682d
@ -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)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#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");
|
||||||
|
Loading…
Reference in New Issue
Block a user