diff options
author | 2016-07-21 17:36:18 +0000 | |
---|---|---|
committer | 2016-07-21 17:36:18 +0000 | |
commit | bceff3ff72bd362baf8a764f75a0e2a1f5aa0870 (patch) | |
tree | f09e369ded8c6d27338bb24d98f3ff224a7acf9d /kernel/arch/x86/kvm/trace.h | |
parent | 3a1e86d637c095effee0cff87c8ef67a2924a5ff (diff) | |
parent | ebcdab040619575a47ad19b18e7ed5c38d287336 (diff) |
Merge "KVM: x86: support using the vmx preemption timer for tsc deadline timer"
Diffstat (limited to 'kernel/arch/x86/kvm/trace.h')
-rw-r--r-- | kernel/arch/x86/kvm/trace.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/kernel/arch/x86/kvm/trace.h b/kernel/arch/x86/kvm/trace.h index ab9ae67a8..b41f7a013 100644 --- a/kernel/arch/x86/kvm/trace.h +++ b/kernel/arch/x86/kvm/trace.h @@ -1025,6 +1025,21 @@ TRACE_EVENT(kvm_pi_irte_update, __entry->pi_desc_addr) ); +TRACE_EVENT(kvm_hv_timer_state, + TP_PROTO(unsigned int vcpu_id, unsigned int hv_timer_in_use), + TP_ARGS(vcpu_id, hv_timer_in_use), + TP_STRUCT__entry( + __field(unsigned int, vcpu_id) + __field(unsigned int, hv_timer_in_use) + ), + TP_fast_assign( + __entry->vcpu_id = vcpu_id; + __entry->hv_timer_in_use = hv_timer_in_use; + ), + TP_printk("vcpu_id %x hv_timer %x\n", + __entry->vcpu_id, + __entry->hv_timer_in_use) +); #endif /* _TRACE_KVM_H */ #undef TRACE_INCLUDE_PATH |