Lines Matching refs:vmcs_info

2498 				      struct intel_pt_vmcs_info *vmcs_info)  in intel_pt_translate_vm_tsc()  argument
2503 decoder->packet.payload -= vmcs_info->tsc_offset; in intel_pt_translate_vm_tsc()
2516 payload, decoder->packet.payload, vmcs_info->vmcs, in intel_pt_translate_vm_tsc()
2517 vmcs_info->tsc_offset); in intel_pt_translate_vm_tsc()
2523 struct intel_pt_vmcs_info vmcs_info = { in intel_pt_translate_vm_tsc_offset() local
2528 intel_pt_translate_vm_tsc(decoder, &vmcs_info); in intel_pt_translate_vm_tsc_offset()
2541 static void intel_pt_print_vmcs_info(struct intel_pt_vmcs_info *vmcs_info) in intel_pt_print_vmcs_info() argument
2544 vmcs_info->vmcs, vmcs_info->tsc_offset); in intel_pt_print_vmcs_info()
2561 struct intel_pt_vmcs_info *vmcs_info, in intel_pt_vm_tm_corr_first_tsc() argument
2571 if (vmcs_info && vmcs_info->tsc_offset) { in intel_pt_vm_tm_corr_first_tsc()
2572 intel_pt_translate_vm_tsc(decoder, vmcs_info); in intel_pt_vm_tm_corr_first_tsc()
2586 if (vmcs_info && vmcs_info->tsc_offset) in intel_pt_vm_tm_corr_first_tsc()
2587 intel_pt_translate_vm_tsc(decoder, vmcs_info); in intel_pt_vm_tm_corr_first_tsc()
2597 struct intel_pt_vmcs_info *vmcs_info; in intel_pt_vm_tm_corr_tsc() local
2631 vmcs_info = decoder->findnew_vmcs_info(decoder->data, vmcs); in intel_pt_vm_tm_corr_tsc()
2637 intel_pt_vm_tm_corr_first_tsc(decoder, data, vmcs_info, host_tsc); in intel_pt_vm_tm_corr_tsc()
2648 if (!vmcs_info) { in intel_pt_vm_tm_corr_tsc()
2672 if (vmcs_info && in intel_pt_vm_tm_corr_tsc()
2674 (vmcs_info->tsc_offset & SEVEN_BYTES)) { in intel_pt_vm_tm_corr_tsc()
2695 if (vmcs_info && vmcs_info->vmcs) { in intel_pt_vm_tm_corr_tsc()
2696 if (vmcs_info->tsc_offset && vmcs_info->reliable) { in intel_pt_vm_tm_corr_tsc()
2714 if (assign && (vmcs_info->tsc_offset != tsc_offset || in intel_pt_vm_tm_corr_tsc()
2715 vmcs_info->reliable != assign_reliable)) { in intel_pt_vm_tm_corr_tsc()
2716 bool print = vmcs_info->tsc_offset != tsc_offset; in intel_pt_vm_tm_corr_tsc()
2718 vmcs_info->tsc_offset = tsc_offset; in intel_pt_vm_tm_corr_tsc()
2719 vmcs_info->reliable = assign_reliable; in intel_pt_vm_tm_corr_tsc()
2721 intel_pt_print_vmcs_info(vmcs_info); in intel_pt_vm_tm_corr_tsc()
2725 if (vmcs_info && vmcs_info->tsc_offset) { in intel_pt_vm_tm_corr_tsc()
2726 if (!vmcs_info->reliable) in intel_pt_vm_tm_corr_tsc()
2728 intel_pt_translate_vm_tsc(decoder, vmcs_info); in intel_pt_vm_tm_corr_tsc()
2731 if (vmcs_info) { in intel_pt_vm_tm_corr_tsc()
2732 if (!vmcs_info->error_printed) { in intel_pt_vm_tm_corr_tsc()
2734 vmcs_info->vmcs); in intel_pt_vm_tm_corr_tsc()
2735 vmcs_info->error_printed = true; in intel_pt_vm_tm_corr_tsc()
2751 struct intel_pt_vmcs_info *vmcs_info; in intel_pt_vm_tm_corr_pebs_tsc() local
2758 vmcs_info = decoder->findnew_vmcs_info(decoder->data, vmcs); in intel_pt_vm_tm_corr_pebs_tsc()
2762 if (!vmcs_info) { in intel_pt_vm_tm_corr_pebs_tsc()
2776 if (vmcs_info) { in intel_pt_vm_tm_corr_pebs_tsc()
2778 host_tsc = ((guest_tsc & SEVEN_BYTES) - vmcs_info->tsc_offset) & SEVEN_BYTES; in intel_pt_vm_tm_corr_pebs_tsc()
2782 guest_tsc, host_tsc, vmcs_info->vmcs, in intel_pt_vm_tm_corr_pebs_tsc()
2783 vmcs_info->tsc_offset); in intel_pt_vm_tm_corr_pebs_tsc()