KVM: PPC: Book3S HV: Decouple the debug timing from the P8 entry path
[linux-2.6-microblaze.git] / arch / powerpc / kvm / Kconfig
index ddd8817..191347f 100644 (file)
@@ -128,8 +128,24 @@ config KVM_BOOK3S_64_PR
          and system calls on the host.
 
 config KVM_BOOK3S_HV_EXIT_TIMING
-       bool "Detailed timing for hypervisor real-mode code"
+       bool
+
+config KVM_BOOK3S_HV_P9_TIMING
+       bool "Detailed timing for the P9 entry point"
+       select KVM_BOOK3S_HV_EXIT_TIMING
        depends on KVM_BOOK3S_HV_POSSIBLE && DEBUG_FS
+       help
+         Calculate time taken for each vcpu in various parts of the
+         code. The total, minimum and maximum times in nanoseconds
+         together with the number of executions are reported in debugfs in
+         kvm/vm#/vcpu#/timings.
+
+         If unsure, say N.
+
+config KVM_BOOK3S_HV_P8_TIMING
+       bool "Detailed timing for hypervisor real-mode code (for POWER8)"
+       select KVM_BOOK3S_HV_EXIT_TIMING
+       depends on KVM_BOOK3S_HV_POSSIBLE && DEBUG_FS && !KVM_BOOK3S_HV_P9_TIMING
        help
          Calculate time taken for each vcpu in the real-mode guest entry,
          exit, and interrupt handling code, plus time spent in the guest