summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/emulate.c
diff options
context:
space:
mode:
authorJerone Young <jyoung5@us.ibm.com>2008-07-14 14:00:03 +0200
committerAvi Kivity <avi@qumranet.com>2008-10-15 10:15:15 +0200
commit31711f2294b38d8334efaf7dbac6da4781fd151e (patch)
tree0e60487f9c79113f1f0c9cbc094d9a167d5c3f46 /arch/powerpc/kvm/emulate.c
parent12f67556023389a6be929a56617142a8e8ab20fe (diff)
downloadblackbird-op-linux-31711f2294b38d8334efaf7dbac6da4781fd151e.tar.gz
blackbird-op-linux-31711f2294b38d8334efaf7dbac6da4781fd151e.zip
KVM: ppc: adds trace points for ppc tlb activity
This patch adds trace points to track powerpc TLB activities using the KVM_TRACE infrastructure. Signed-off-by: Jerone Young <jyoung5@us.ibm.com> Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/powerpc/kvm/emulate.c')
-rw-r--r--arch/powerpc/kvm/emulate.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/emulate.c b/arch/powerpc/kvm/emulate.c
index 8c605d0a5488..4a3e274bac12 100644
--- a/arch/powerpc/kvm/emulate.c
+++ b/arch/powerpc/kvm/emulate.c
@@ -170,6 +170,10 @@ static int kvmppc_emul_tlbwe(struct kvm_vcpu *vcpu, u32 inst)
kvmppc_mmu_map(vcpu, eaddr, raddr >> PAGE_SHIFT, asid, flags);
}
+ KVMTRACE_5D(GTLB_WRITE, vcpu, index,
+ tlbe->tid, tlbe->word0, tlbe->word1, tlbe->word2,
+ handler);
+
return EMULATE_DONE;
}
OpenPOWER on IntegriCloud