Lines Matching full:vmcs
124 struct intel_pt_vmcs_info *(*findnew_vmcs_info)(void *data, uint64_t vmcs);
167 uint64_t vmcs; member
2318 bool tsc, pip, vmcs, tma, psbend; member
2324 /* Lookahead and get the PIP, VMCS and TMA packets from PSB+ */
2356 data->vmcs = true; in intel_pt_vm_psb_lookahead_cb()
2515 " VMCS %#" PRIx64 " TSC Offset %#" PRIx64 "\n", in intel_pt_translate_vm_tsc()
2516 payload, decoder->packet.payload, vmcs_info->vmcs, in intel_pt_translate_vm_tsc()
2524 .vmcs = NO_VMCS, in intel_pt_translate_vm_tsc_offset()
2543 p_log("VMCS: %#" PRIx64 " TSC Offset %#" PRIx64, in intel_pt_print_vmcs_info()
2544 vmcs_info->vmcs, vmcs_info->tsc_offset); in intel_pt_print_vmcs_info()
2599 uint64_t vmcs; in intel_pt_vm_tm_corr_tsc() local
2627 vmcs = data->vmcs ? data->vmcs_packet.payload : decoder->vmcs; in intel_pt_vm_tm_corr_tsc()
2628 if (vmcs == NO_VMCS) in intel_pt_vm_tm_corr_tsc()
2629 vmcs = 0; in intel_pt_vm_tm_corr_tsc()
2631 vmcs_info = decoder->findnew_vmcs_info(decoder->data, vmcs); in intel_pt_vm_tm_corr_tsc()
2649 /* PIP NR=1 without VMCS cannot happen */ in intel_pt_vm_tm_corr_tsc()
2650 p_log("ERROR: Missing VMCS"); in intel_pt_vm_tm_corr_tsc()
2675 /* Same TSC Offset as last VMCS, assume Guest */ in intel_pt_vm_tm_corr_tsc()
2695 if (vmcs_info && vmcs_info->vmcs) { in intel_pt_vm_tm_corr_tsc()
2713 /* Record VMCS TSC Offset */ in intel_pt_vm_tm_corr_tsc()
2733 p_log("ERROR: Unknown TSC Offset for VMCS %#" PRIx64, in intel_pt_vm_tm_corr_tsc()
2734 vmcs_info->vmcs); in intel_pt_vm_tm_corr_tsc()
2739 p_log("ERROR: Unknown VMCS"); in intel_pt_vm_tm_corr_tsc()
2752 uint64_t vmcs; in intel_pt_vm_tm_corr_pebs_tsc() local
2754 vmcs = decoder->vmcs; in intel_pt_vm_tm_corr_pebs_tsc()
2755 if (vmcs == NO_VMCS) in intel_pt_vm_tm_corr_pebs_tsc()
2756 vmcs = 0; in intel_pt_vm_tm_corr_pebs_tsc()
2758 vmcs_info = decoder->findnew_vmcs_info(decoder->data, vmcs); in intel_pt_vm_tm_corr_pebs_tsc()
2763 /* PIP NR=1 without VMCS cannot happen */ in intel_pt_vm_tm_corr_pebs_tsc()
2764 p_log("ERROR: Missing VMCS"); in intel_pt_vm_tm_corr_pebs_tsc()
2781 " VMCS %#" PRIx64 " TSC Offset %#" PRIx64 "\n", in intel_pt_vm_tm_corr_pebs_tsc()
2782 guest_tsc, host_tsc, vmcs_info->vmcs, in intel_pt_vm_tm_corr_pebs_tsc()
2789 p_log("ERROR: Unknown VMCS"); in intel_pt_vm_tm_corr_pebs_tsc()
2886 decoder->vmcs = decoder->packet.payload; in intel_pt_vm_time_correlation()