tools/misc/xen-vmtrace: use reset and enable

The expected behavior while using xen-vmtrace is to get a clean start, even if
the tool was used previously on the same VM.

Signed-off-by: Tamas K Lengyel <tamas@tklengyel.com>
Release-Acked-by: Ian Jackson <iwj@xenproject.org>
Reviewed-by: Ian Jackson <iwj@xenproject.org>
This commit is contained in:
Tamas K Lengyel authored and Ian Jackson committed 2021-02-22 11:15:31 +00:00
1 parent 87a067fd8f
commit f894c3d8e7
1 file changed
+1 -1
+1 -1
View File
@@ -119,7 +119,7 @@ int main(int argc, char **argv)
goto out;
}
if ( xc_vmtrace_enable(xch, domid, vcpu) )
if ( xc_vmtrace_reset_and_enable(xch, domid, vcpu) )
{
perror("xc_vmtrace_enable()");
goto out;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.