Re: [PATCH] kvm-unit-tests: x86: pmu: call measure for every counter in check_counters_many

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Il 25/08/2014 21:38, Chris J Arges ha scritto:
> Ah, I didn't know that. Yes disabling NMI watchdog via:
> echo 0 | sudo tee /proc/sys/kernel/nmi_watchdog
> Allows this test to pass.
> 
> Would it make sense to have a check if nmi_watchdog is enabled in this
> test case, and skip the all counters test?

You can check for it in procfs, but that means testing in runtests.sh.
You can add a test for it and just skip the entire PMU test.  Bonus
points for somehow adding the test to unittests.cfg instead of
hardcoding the test name in the shell script.

Paolo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux