aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2022-11-29 16:29:42 -0400
committerJason Gunthorpe <[email protected]>2022-11-30 20:16:49 -0400
commit57f0988706fec1b8dbc3fe00965828a47e2235a1 (patch)
tree9a738e5139d7d63aa675c21e7640cdcf6416fde2 /tools/perf/scripts/python/export-to-sqlite.py
parent52f528583bb395495f7dd35e6e4d548bccbf8a73 (diff)
iommufd: Add a selftest
Cover the essential functionality of the iommufd with a directed test from userspace. This aims to achieve reasonable functional coverage using the in-kernel self test framework. A second test does a failure injection sweep of the success paths to study error unwind behaviors. This allows achieving high coverage of the corner cases in pages.c. The selftest requires CONFIG_IOMMUFD_TEST to be enabled, and several huge pages which may require: echo 4 > /proc/sys/vm/nr_hugepages Link: https://lore.kernel.org/r/[email protected] Tested-by: Nicolin Chen <[email protected]> Tested-by: Matthew Rosato <[email protected]> # s390 Tested-by: Yi Liu <[email protected]> Tested-by: Eric Auger <[email protected]> # aarch64 Signed-off-by: Nicolin Chen <[email protected]> Signed-off-by: Yi Liu <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions