diff options
author | Aaron Lewis <[email protected]> | 2023-07-31 13:30:26 -0700 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2023-08-02 14:42:52 -0700 |
commit | 5d1d46f9d56fb567718175cb0cb7a084d444a9d4 (patch) | |
tree | 4847978f1565b5fc77287b327bf259377d0a0dff /tools/perf/scripts/python/sctop.py | |
parent | edb5b700f9f8a21e57aef14cf795fb958cc38628 (diff) |
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 <[email protected]>
[sean: use UCALL_EXIT_REASON, enable for all architectures]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions