Hi stefan, I am learning QEMU and I would want to experiment with the trace facilities provided in the QEMU source.
Are there mechanisms available to get traces from guest and host and then collate them to get a merged trace which helps to understand exact flow of guest with host ? OR generate a trace file which by default combines the traces from running guest and host. Currently I have a guest running using the following: ./qemu-system-x86_64 -kernel /boot/vmlinuz-4.4.0-21-generic -initrd /boot/initrd.img-4.4.0-21-generic -drive file=/home/gnayan/CUSTOM_QEMU_SYSTEM/UBUNTU/disk.img,if=virtio,format=raw -append "root=/dev/vda" -m 512M -net nic,model=virtio -net user I can get the ftrace from the host as well as the QEMU traces using the trace-events file. However I would like to see a collated picture of the Guest functions and host functions in real time so to get a very good picture of the flow of functions in the Guest and Host simultaneously, How can I setup such an environment, what qemu options can I specify for this to work. Please suggest. Thanks