diff options
author | Alexander Graf <agraf@suse.de> | 2012-08-07 18:44:52 -0400 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-10-05 17:38:42 -0400 |
commit | 6346046c3a69edc9149311473b940f3af7c93752 (patch) | |
tree | 0eea2921bb2a83d84e337cbf3735b358d9d4ddb7 /arch/powerpc/kvm/booke.c | |
parent | 862d31f788f9a249f7656d02d8d4006e306108ce (diff) |
KVM: PPC: BookE: Add some more trace points
Without trace points, debugging what exactly is going on inside guest
code can be very tricky. Add a few more trace points at places that
hopefully tell us more when things go wrong.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/kvm/booke.c')
-rw-r--r-- | arch/powerpc/kvm/booke.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c index 52f6cbb4923e..00bcc57428c7 100644 --- a/arch/powerpc/kvm/booke.c +++ b/arch/powerpc/kvm/booke.c | |||
@@ -143,6 +143,7 @@ void kvmppc_set_msr(struct kvm_vcpu *vcpu, u32 new_msr) | |||
143 | static void kvmppc_booke_queue_irqprio(struct kvm_vcpu *vcpu, | 143 | static void kvmppc_booke_queue_irqprio(struct kvm_vcpu *vcpu, |
144 | unsigned int priority) | 144 | unsigned int priority) |
145 | { | 145 | { |
146 | trace_kvm_booke_queue_irqprio(vcpu, priority); | ||
146 | set_bit(priority, &vcpu->arch.pending_exceptions); | 147 | set_bit(priority, &vcpu->arch.pending_exceptions); |
147 | } | 148 | } |
148 | 149 | ||
@@ -457,6 +458,8 @@ int kvmppc_core_prepare_to_enter(struct kvm_vcpu *vcpu) | |||
457 | static void kvmppc_check_requests(struct kvm_vcpu *vcpu) | 458 | static void kvmppc_check_requests(struct kvm_vcpu *vcpu) |
458 | { | 459 | { |
459 | if (vcpu->requests) { | 460 | if (vcpu->requests) { |
461 | trace_kvm_check_requests(vcpu); | ||
462 | |||
460 | if (kvm_check_request(KVM_REQ_PENDING_TIMER, vcpu)) | 463 | if (kvm_check_request(KVM_REQ_PENDING_TIMER, vcpu)) |
461 | update_timer_ints(vcpu); | 464 | update_timer_ints(vcpu); |
462 | #if defined(CONFIG_KVM_E500V2) || defined(CONFIG_KVM_E500MC) | 465 | #if defined(CONFIG_KVM_E500V2) || defined(CONFIG_KVM_E500MC) |