Reputation: 441
I would like to profile a unikernel I am developing. This is an x86_64 unikernel, written in Rust, which runs on an x86_64 host using QEMU to manage the KVM VM. I have enabled frame pointers.
I don't care what tool is used, anything resembling a FlameGraph would work.
I have tried:
perf-kvm
: I believe requires a Linux kernel in the VM and does not support custom kernels? I get no output when I run it, and the options like "Guest OS root file system mount directory" makes it seem like the wrong tool.systemtap-sdt-dev
does not support the CLI options used by vm_profile_guest
, and dtrace4linux
hasn't been updated in 6 years.I have not yet tried using GDB's backtrace support to manually generate profiling data, but I wanted to check I hadn't missed something obvious before working on that.
Upvotes: 0
Views: 11