[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 1/2] trace: Add simple tracing support
From: |
Jan Kiszka |
Subject: |
[Qemu-devel] Re: [PATCH 1/2] trace: Add simple tracing support |
Date: |
Fri, 21 May 2010 13:13: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 |
Stefan Hajnoczi wrote:
> Trace events should be defined in trace.h. Events are written to
> /tmp/trace.log and can be formatted using trace.py. Remember to add
> events to trace.py for pretty-printing.
When already writing to a file, why not reusing QEMU's logging
infrastructure ("log <foo>" / "-d foo")? Shouldn't make a huge
performance difference if the data is saved in clear-text.
Also, having support for ftrace's user space markers would be a very
nice option (only an option as it's Linux-specific), see
http://lwn.net/Articles/366796. This allows to correlate kernel events
(KVM as well as others) with what goes on in QEMU. It simply enables
integration with the whole kernel tracing infrastructure, e.g.
KernelShark (http://people.redhat.com/srostedt/kernelshark/HTML).
Jan
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
- [Qemu-devel] [RFC 0/2] Tracing, Stefan Hajnoczi, 2010/05/21
- [Qemu-devel] [PATCH 1/2] trace: Add simple tracing support, Stefan Hajnoczi, 2010/05/21
- Re: [Qemu-devel] [PATCH 1/2] trace: Add simple tracing support, Anthony Liguori, 2010/05/21
- Re: [Qemu-devel] [PATCH 1/2] trace: Add simple tracing support, Jan Kiszka, 2010/05/21
- Re: [Qemu-devel] [PATCH 1/2] trace: Add simple tracing support, Anthony Liguori, 2010/05/21
- Re: [Qemu-devel] [PATCH 1/2] trace: Add simple tracing support, Jan Kiszka, 2010/05/21
- Re: [Qemu-devel] [PATCH 1/2] trace: Add simple tracing support, Stefan Hajnoczi, 2010/05/21
- Re: [Qemu-devel] [PATCH 1/2] trace: Add simple tracing support, Christoph Hellwig, 2010/05/21
- Re: [Qemu-devel] [PATCH 1/2] trace: Add simple tracing support, Jan Kiszka, 2010/05/21
- Re: [Qemu-devel] [PATCH 1/2] trace: Add simple tracing support, Anthony Liguori, 2010/05/21