[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] Fwd: Trace Guest and Host

From: Gadre Nayan
Subject: [Qemu-discuss] Fwd: Trace Guest and Host
Date: Wed, 3 Aug 2016 14:26:21 +0530

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
-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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]