A simple TUI program to trace RD/WRMSR, CPUID, IO ports, and PCIe ECAM reads/writes inside a KVM virtual machine using BPF.
$ make
To install dependencies on Arch Linux:
$ make install-deps
# kvm_trace -d
# kvm_trace -c
# kvm_trace -m
# kvm_trace -i
# kvm_trace -e
# kvm_trace -e 0xb0000000
# ./msr_trace_kvm.sh
was designed for use in a tty, outputting to a file may not work as expected in dedupe mode. (especially reported times)