Proper VM trace outlining