trace: Add QAPI/QMP interfaces to query and control per-vCPU tracing state
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
1 parent
bd71211d55
commit
77e2b17272
6 files changed
+206
-46
No files matched your search
+4
-3
@@ -281,9 +281,10 @@ ETEXI
|
||||
|
||||
{
|
||||
.name = "trace-event",
|
||||
.args_type = "name:s,option:b",
|
||||
.params = "name on|off",
|
||||
.help = "changes status of a specific trace event",
|
||||
.args_type = "name:s,option:b,vcpu:i?",
|
||||
.params = "name on|off [vcpu]",
|
||||
.help = "changes status of a specific trace event "
|
||||
"(vcpu: vCPU to set, default is all)",
|
||||
.mhandler.cmd = hmp_trace_event,
|
||||
.command_completion = trace_event_completion,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user