trace-events: Add hmp completion

Add completion for the trace event names in the hmp trace-event
command.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-id: 1439548063-18410-1-git-send-email-dgilbert@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
Dr. David Alan Gilbert
2015-08-14 11:27:43 +01:00
committed by Stefan Hajnoczi
parent 561578c2a8
commit 987bd27000
3 changed files with 22 additions and 0 deletions

View File

@ -271,6 +271,7 @@ ETEXI
.params = "name on|off",
.help = "changes status of a specific trace event",
.mhandler.cmd = hmp_trace_event,
.command_completion = trace_event_completion,
},
STEXI