[Qemu-devel] Tracing drivers commands to an emulated device

2012-07-31 Thread ffdevel
Hello to all, I would trace the commands issued by the driver to an emulated device. I've read in docs/tracing that it is possible but it is not completely clear how doing that. Is it possible to place hooks inside the emulated device code? Or is better tracing the in/out operations and the acce

[Qemu-devel] R: Re: Tracing drivers commands to an emulated device

2012-07-31 Thread ffdevel
Hi Stefan, thanks for the support i think that the better way for me is to combine the two approaches. At this time i want start profiling the disk and network driver activity. I will submit patches in the case that the trace events that i add can be useful for others. Francesco --Messaggi