Hi,
I have basic experience with VTune profiling processes running on Windows.
The setup I am currently taking a look at is the following:
- On my host system (Intel(R) Core(TM) i3-3217UE) I am running Debian 10.2 and Intel VTune 2020.
- My guest OS (running in QEMU with KVM support and a host CPU) is our own operating system (not a Linux).
Now to my questions:
Is it possible to profile this guest OS with VTune? And if it is, what are the required steps?
The steps I am doing at the moment (using vtune-gui):
- I enable the "Analyze KVM guest OS" option in VTune.
- I use the elf-nm tool of the GCC tools on the ELF file of our OS to create a nm mapping file, which I provide to the "Guest OS kallsyms" parameter in VTune.
- Then I attach VTune to the already running QEMU (using Hardware Event Based Sampling)
But when profiling (e.g. "Hotspots analysis") I can see a huge block of around 90% "Outside any known module" (which might be the one I am looking for), and the other 10% seem to be the QEMU functions. But I would like to see the functions of our OS as well.
Best regards
Johannes
TCE Level:
TCE Open Date:
Monday, February 24, 2020 - 23:14