mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-10-14 15:02:54 +00:00
vl: add -enable-sync-profile
Signed-off-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
9d5cff3df5
commit
12df189de1
|
@ -3953,6 +3953,16 @@ Dump json-encoded vmstate information for current machine type to file
|
||||||
in @var{file}
|
in @var{file}
|
||||||
ETEXI
|
ETEXI
|
||||||
|
|
||||||
|
DEF("enable-sync-profile", 0, QEMU_OPTION_enable_sync_profile,
|
||||||
|
"-enable-sync-profile\n"
|
||||||
|
" enable synchronization profiling\n",
|
||||||
|
QEMU_ARCH_ALL)
|
||||||
|
STEXI
|
||||||
|
@item -enable-sync-profile
|
||||||
|
@findex -enable-sync-profile
|
||||||
|
Enable synchronization profiling.
|
||||||
|
ETEXI
|
||||||
|
|
||||||
STEXI
|
STEXI
|
||||||
@end table
|
@end table
|
||||||
ETEXI
|
ETEXI
|
||||||
|
|
3
vl.c
3
vl.c
|
@ -3959,6 +3959,9 @@ int main(int argc, char **argv, char **envp)
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case QEMU_OPTION_enable_sync_profile:
|
||||||
|
qsp_enable();
|
||||||
|
break;
|
||||||
case QEMU_OPTION_nodefconfig:
|
case QEMU_OPTION_nodefconfig:
|
||||||
case QEMU_OPTION_nouserconfig:
|
case QEMU_OPTION_nouserconfig:
|
||||||
/* Nothing to be parsed here. Especially, do not error out below. */
|
/* Nothing to be parsed here. Especially, do not error out below. */
|
||||||
|
|
Loading…
Reference in a new issue