[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: Tracing block devices
From: |
Jan Kiszka |
Subject: |
[Qemu-devel] Re: Tracing block devices |
Date: |
Tue, 19 Oct 2010 16:38:49 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
Am 19.10.2010 16:29, Richard W.M. Jones wrote:
> On Tue, Oct 19, 2010 at 03:59:36PM +0200, Jan Kiszka wrote:
>> Once we have "-trace events=...", defining the list of active
>> tracepoints before starting qemu will be trivial (e.g. via a config
>> file). Of course, this requires that all tracepoints are built-in...
>
> Sorry that I've not been following this very closely, but does this
> sort of thing allow tracing reads and writes to block devices? Am I
> right in thinking that if a tracepoint existed in the right place, one
> could get a log file from that which could be post-processed in
> another tool?
>
> cf:
> http://rwmj.wordpress.com/2010/10/05/visualizing-reads-writes-and-alignment/#content
>
> Rich.
>
Yes. The block layer is instrumented, not sure if already sufficiently,
but you may simply want to try the simpletrace backend and inspect the
result via its postprocessor (simpletrace.py).
Jan
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
- [Qemu-devel] Static tracepoint control via trace-event, Jan Kiszka, 2010/10/19
- Re: [Qemu-devel] Static tracepoint control via trace-event, Daniel P. Berrange, 2010/10/19
- Re: [Qemu-devel] Static tracepoint control via trace-event, Stefan Hajnoczi, 2010/10/19
- Re: [Qemu-devel] Static tracepoint control via trace-event, Jan Kiszka, 2010/10/19
- Tracing block devices (was: Re: [Qemu-devel] Static tracepoint control via trace-event), Richard W.M. Jones, 2010/10/19
- [Qemu-devel] Re: Tracing block devices,
Jan Kiszka <=
- Re: Tracing block devices (was: Re: [Qemu-devel] Static tracepoint control via trace-event), Stefan Hajnoczi, 2010/10/19
- Re: Tracing block devices (was: Re: [Qemu-devel] Static tracepoint control via trace-event), Christoph Hellwig, 2010/10/21
- Re: Tracing block devices (was: Re: [Qemu-devel] Static tracepoint control via trace-event), Richard W.M. Jones, 2010/10/21
- Re: Tracing block devices (was: Re: [Qemu-devel] Static tracepoint control via trace-event), Stefan Hajnoczi, 2010/10/21
- Re: Tracing block devices (was: Re: [Qemu-devel] Static tracepoint control via trace-event), Daniel P. Berrange, 2010/10/21