summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAaron Lewis <aaronlewis@google.com>2023-07-31 23:30:26 +0300
committerSean Christopherson <seanjc@google.com>2023-08-03 00:42:52 +0300
commit5d1d46f9d56fb567718175cb0cb7a084d444a9d4 (patch)
tree4847978f1565b5fc77287b327bf259377d0a0dff /tools/perf/scripts/python
parentedb5b700f9f8a21e57aef14cf795fb958cc38628 (diff)
downloadlinux-5d1d46f9d56fb567718175cb0cb7a084d444a9d4.tar.xz
KVM: selftests: Add a selftest for guest prints and formatted asserts
Add a test to exercise the various features in KVM selftest's local snprintf() and compare them to LIBC's snprintf() to ensure they behave the same. This is not an exhaustive test. KVM's local snprintf() does not implement all the features LIBC does, e.g. KVM's local snprintf() does not support floats or doubles, so testing for those features were excluded. Testing was added for the features that are expected to work to support a minimal version of printf() in the guest. Signed-off-by: Aaron Lewis <aaronlewis@google.com> [sean: use UCALL_EXIT_REASON, enable for all architectures] Link: https://lore.kernel.org/r/20230731203026.1192091-4-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions