]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: selftests: Print out the actual Top-Down Slots count on failure
authorSean Christopherson <seanjc@google.com>
Fri, 17 Jan 2025 23:42:03 +0000 (15:42 -0800)
committerSean Christopherson <seanjc@google.com>
Wed, 12 Feb 2025 16:34:56 +0000 (08:34 -0800)
commit54108e73344480c3e5f3799129970009f52c59f4
tree2b7e0f286c3582d8766db24b4647eb3c93d9d4fb
parent0e6714735c012251f3cbfbe26b96222c7d5e45a7
KVM: selftests: Print out the actual Top-Down Slots count on failure

Print out the expected vs. actual count of the Top-Down Slots event on
failure in the Intel PMU counters test.  GUEST_ASSERT() only expands
constants/macros, i.e. only prints the value of the expected count, which
makes it difficult to debug and triage failures.

Link: https://lore.kernel.org/r/20250117234204.2600624-6-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/x86/pmu_counters_test.c