Log when trace file gets truncated
This commit is contained in:
parent
fd01132cad
commit
7883ec274c
1
nyx/pt.c
1
nyx/pt.c
@ -109,6 +109,7 @@ int pt_enable(CPUState *cpu, bool hmp_mode)
|
|||||||
redqueen_trace_reset();
|
redqueen_trace_reset();
|
||||||
alt_bitmap_reset();
|
alt_bitmap_reset();
|
||||||
}
|
}
|
||||||
|
nyx_debug("Truncating the dump file!\n");
|
||||||
pt_truncate_pt_dump_file();
|
pt_truncate_pt_dump_file();
|
||||||
return pt_cmd(cpu, KVM_VMX_PT_ENABLE, hmp_mode);
|
return pt_cmd(cpu, KVM_VMX_PT_ENABLE, hmp_mode);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user