Re: [RFC 0/5] Tracing backends

Jan Kiszka
2010-05-23T15:48:12Z

[-- Attachment #1: Type: text/plain, Size: 1110 bytes --]

Stefan Hajnoczi wrote:
> The following patches against qemu.git allow static trace events to be declared
> in QEMU. Trace events use a lightweight syntax and are independent of the
> backend tracing system (e.g. LTTng UST).
>
> Supported backends are:
> * my trivial tracer ("simple")
> * LTTng Userspace Tracer ("ust")
> * no tracer ("nop", the default)
>
> The ./configure option to choose a backend is --trace-backend=.
>
> Main point of this patchset: adding new trace events is easy and we can switch
> between backends without modifying the code.
>
> Prerna: Would you like to add your tracing system as a backend? This would be
> similar to my patches to add "simple" and "ust" backend support.
>
> Jan: Adding kernel marker backend support should be straightforward if you are
> interested.
>
> These patches are also available at:
> http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/tracing
>

Nice! Will have a closer look once timer permits, specifically to check
how ftrace can be added to this. Looks indeed straightforward on first
sight.

Jan

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]