diff options
author | 2023-04-05 17:17:24 -0700 | |
---|---|---|
committer | 2023-05-30 15:03:02 -0700 | |
commit | 5efde6d73d58ec1ba6e22cc0cbc89fbdb38e632c (patch) | |
tree | a756dd0d947a5eb8bdaa46bf92071cc4b8d5db6a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: VMX: add MSR_IA32_TSX_CTRL into msrs_to_save (diff) | |
download | wireguard-linux-5efde6d73d58ec1ba6e22cc0cbc89fbdb38e632c.tar.xz wireguard-linux-5efde6d73d58ec1ba6e22cc0cbc89fbdb38e632c.zip |
KVM: selftests: Refactor stable TSC check to use TEST_REQUIRE()
Refactor the nested TSC scaling test's check on a stable system TSC to
use TEST_REQUIRE() to do the heavy lifting when the system doesn't have
a stable TSC. Using a helper+TEST_REQUIRE() eliminates the need for
gotos and a custom message.
Cc: Hao Ge <gehao@kylinos.cn>
Cc: Vipin Sharma <vipinsh@google.com>
Link: https://lore.kernel.org/r/20230406001724.706668-1-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions