Skip to content

Instantly share code, notes, and snippets.

@heatd
Created May 5, 2023 21:09
Show Gist options
  • Save heatd/d517d7a6eb2e7150e748c7103997eaf8 to your computer and use it in GitHub Desktop.
Save heatd/d517d7a6eb2e7150e748c7103997eaf8 to your computer and use it in GitHub Desktop.
[pfalcato@PC-PEDRO-ARCH Onyx]$ perf --version
perf version 6.2.gc9c3395d5e3d
[pfalcato@PC-PEDRO-ARCH Onyx]$ perf kvm stat live -a
Usage: perf kvm [<options>] {top|record|report|diff|buildid-list|stat}
-i, --input <file> Input file name
-o, --output <file> Output file name
-v, --verbose be more verbose (show counter open errors, etc)
--guest Collect guest os data
--guest-code Guest code can be found in hypervisor process
--guestkallsyms <file>
file saving guest os /proc/kallsyms
--guestmodules <file>
file saving guest os /proc/modules
--guestmount <directory>
guest mount directory under which every guest os instance has a subdir
--guestvmlinux <file>
file saving guest os vmlinux
--host Collect host os data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment