diff options
author | Lluís Vilanova | 2016-07-11 12:53:57 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2016-07-18 19:23:12 +0200 |
commit | 77e2b17272963c09e309315903f3781dbdd85341 (patch) | |
tree | 3a6041c320317edf40167dd6b69b2912b496e763 /hmp-commands-info.hx | |
parent | trace: Allow event name pattern in "info trace-events" (diff) | |
download | qemu-77e2b17272963c09e309315903f3781dbdd85341.tar.gz qemu-77e2b17272963c09e309315903f3781dbdd85341.tar.xz qemu-77e2b17272963c09e309315903f3781dbdd85341.zip |
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>
Diffstat (limited to 'hmp-commands-info.hx')
-rw-r--r-- | hmp-commands-info.hx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hmp-commands-info.hx b/hmp-commands-info.hx index 3d07ca6a77..74446c669e 100644 --- a/hmp-commands-info.hx +++ b/hmp-commands-info.hx @@ -646,10 +646,10 @@ ETEXI { .name = "trace-events", - .args_type = "name:s?", - .params = "[name]", + .args_type = "name:s?,vcpu:i?", + .params = "[name] [vcpu]", .help = "show available trace-events & their state " - "(name: event name pattern)", + "(name: event name pattern; vcpu: vCPU to query, default is any)", .mhandler.cmd = hmp_info_trace_events, .command_completion = info_trace_events_completion, }, |