diff options
author | Lluís Vilanova <vilanova@ac.upc.edu> | 2016-07-11 12:53:51 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2016-07-18 18:23:12 +0100 |
commit | bd71211d556aac5451696785fbe29be7f70bed05 (patch) | |
tree | e7492c51c6afce6a71a9e5d90ad20d07db53c071 /hmp-commands-info.hx | |
parent | 40b9cd25f789e02145fda5e1f3fde7e7dd9e3b61 (diff) | |
download | qemu-bd71211d556aac5451696785fbe29be7f70bed05.zip qemu-bd71211d556aac5451696785fbe29be7f70bed05.tar.gz qemu-bd71211d556aac5451696785fbe29be7f70bed05.tar.bz2 |
trace: Allow event name pattern in "info trace-events"
Homogenizes the command capabilities with QMP.
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
Reviewed-by: Eric Blake <eblake@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 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/hmp-commands-info.hx b/hmp-commands-info.hx index 7da9e6c..3d07ca6 100644 --- a/hmp-commands-info.hx +++ b/hmp-commands-info.hx @@ -646,10 +646,12 @@ ETEXI { .name = "trace-events", - .args_type = "", - .params = "", - .help = "show available trace-events & their state", + .args_type = "name:s?", + .params = "[name]", + .help = "show available trace-events & their state " + "(name: event name pattern)", .mhandler.cmd = hmp_info_trace_events, + .command_completion = info_trace_events_completion, }, STEXI |