| 1 |
title: Tally the Number of User-Space QEMU IO on Each IO Port |
| 2 |
name: qemu_io.stp |
| 3 |
version: 1.0 |
| 4 |
author: William Cohen |
| 5 |
keywords: virtualization qemu kvm io |
| 6 |
subsystem: virtualization |
| 7 |
status: experimental |
| 8 |
exit: user-controlled |
| 9 |
output: sorted-list |
| 10 |
scope: system-wide |
| 11 |
description: The qemu_io.stp script tallies the number of times each of the IO port on the guest virtual machines is touched by a input or output operation. When the script exits, it prints a count of the number of times each IO port read and written. |
| 12 |
test_support: stap -l 'qemu.*.*.cpu_in?, qemu.kvm.cpu_in?' && stap -l 'qemu.*.*.cpu_out?, qemu.kvm.cpu_out?' |
| 13 |
test_check: stap -p4 qemu_io.stp |
| 14 |
test_installcheck: stap qemu_io.stp -T 1 |