1. Install trace-cmd
The source can be found in the kvm source file home directory.
2. Suppose you are interested in i/o events, type in:
$ sudo trace-cmd record -e '*io*' virsh
You can start your virtual machine in virsh.
3. Use kernelshark to read the record.
$ kernelshark
No comments:
Post a Comment