diff options
| author | Yanan Wang <wangyanan55@huawei.com> | 2021-03-30 11:08:50 +0300 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-04-20 11:18:52 +0300 |
| commit | c412d6ac28ac55505c5b079e259caddd9f55d293 (patch) | |
| tree | 2dc63e9d61af1d1395bdbe4f06af30bfc91e96db /tools/perf/scripts/python/intel-pt-events.py | |
| parent | fa76c775be27bdc49cc2d39f8ebdb926a9d53294 (diff) | |
| download | linux-c412d6ac28ac55505c5b079e259caddd9f55d293.tar.xz | |
KVM: selftests: Print the errno besides error-string in TEST_ASSERT
Print the errno besides error-string in TEST_ASSERT in the format of
"errno=%d - %s" will explicitly indicate that the string is an error
information. Besides, the errno is easier to be used for debugging
than the error-string.
Suggested-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Yanan Wang <wangyanan55@huawei.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Message-Id: <20210330080856.14940-5-wangyanan55@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
