]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
KVM: PPC: BookE: Expose remote TLB flushes in debugfs
authorAlexander Graf <agraf@suse.de>
Wed, 1 Aug 2012 10:56:51 +0000 (12:56 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 5 Oct 2012 21:38:39 +0000 (23:38 +0200)
We're already counting remote TLB flushes in a variable, but don't export
it to user space yet. Do so, so we know what's going on.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/booke.c

index 7ce2ed07831faff60c663a6cb37c0f5c8512d869..1d4ce9a80f557d76e0ce37bd57db88b172ee7b5d 100644 (file)
@@ -63,6 +63,7 @@ struct kvm_stats_debugfs_item debugfs_entries[] = {
        { "halt_wakeup", VCPU_STAT(halt_wakeup) },
        { "doorbell", VCPU_STAT(dbell_exits) },
        { "guest doorbell", VCPU_STAT(gdbell_exits) },
+       { "remote_tlb_flush", VM_STAT(remote_tlb_flush) },
        { NULL }
 };