mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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:
1 parent
87a067fd8f
commit
f894c3d8e7
1 file changed
+1
-1
@@ -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;
|
||||
|
||||