summaryrefslogtreecommitdiffstats
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorEmilio G. Cota2018-08-15 22:00:03 +0200
committerPaolo Bonzini2018-08-23 18:46:25 +0200
commitdd12e1bbf2a41b0f6ce450a5449e536df0909520 (patch)
tree70fabbab238a02b4848b5ea4d050b5f6fc01b9bc /hmp-commands.hx
parentvl: add -enable-sync-profile (diff)
downloadqemu-dd12e1bbf2a41b0f6ce450a5449e536df0909520.tar.gz
qemu-dd12e1bbf2a41b0f6ce450a5449e536df0909520.tar.xz
qemu-dd12e1bbf2a41b0f6ce450a5449e536df0909520.zip
hmp-commands: add sync-profile
The command introduced here is just for developers. This means that: - the interface implemented here could change in the future - the command is only meant to be used from HMP, not from QMP Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r--hmp-commands.hx15
1 files changed, 15 insertions, 0 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx
index c1fc747403..db0c681f74 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -644,6 +644,21 @@ sendkey ctrl-alt-f1
This command is useful to send keys that your graphical user interface
intercepts at low level, such as @code{ctrl-alt-f1} in X Window.
ETEXI
+ {
+ .name = "sync-profile",
+ .args_type = "op:s?",
+ .params = "[on|off|reset]",
+ .help = "enable, disable or reset synchronization profiling. "
+ "With no arguments, prints whether profiling is on or off.",
+ .cmd = hmp_sync_profile,
+ },
+
+STEXI
+@item sync-profile [on|off|reset]
+@findex sync-profile
+Enable, disable or reset synchronization profiling. With no arguments, prints
+whether profiling is on or off.
+ETEXI
{
.name = "system_reset",