[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 06/11] trace: generalize the "property" conce
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v2 06/11] trace: generalize the "property" concept in the trace-events file |
Date: |
Sat, 23 Apr 2011 15:22:12 +0100 |
On Wed, Apr 6, 2011 at 7:34 PM, Lluís <address@hidden> wrote:
> diff --git a/docs/tracing.txt b/docs/tracing.txt
> index 34b0901..a9fd85b 100644
> --- a/docs/tracing.txt
> +++ b/docs/tracing.txt
> @@ -38,7 +38,7 @@ generate code for the trace events. Trace events are
> invoked directly from
> source code like this:
>
> #include "trace.h" /* needed for trace event prototype */
> -
> +
> void *qemu_malloc(size_t size)
> {
> void *ptr;
> @@ -98,7 +98,7 @@ portability macros, ensure they are preceded and followed
> by double quotes:
> 4. Name trace events after their function. If there are multiple trace
> events
> in one function, append a unique distinguisher at the end of the name.
>
> -5. Declare trace events with the "disable" keyword. Some trace events can
> +5. Declare trace events with the "disable" property. Some trace events can
> produce a lot of output and users are typically only interested in a subset
> of trace events. Marking trace events disabled by default saves the user
> from having to manually disable noisy trace events.
> @@ -168,7 +168,7 @@ The st_change_trace_event_state() function can be used to
> enable or disable trac
> events at runtime inside QEMU:
>
> #include "trace.h"
> -
> +
> st_change_trace_event_state("virtio_irq", true); /* enable */
> [...]
> st_change_trace_event_state("virtio_irq", false); /* disable */
Tailing whitespace is there due to wiki formatting. Please do not remove it.
The rest looks good.
Stefan
- [Qemu-devel] [RFC][PATCH v2 00/11] trace-state: make the behaviour of "disable" consistent across all backends, Lluís, 2011/04/06
- [Qemu-devel] [PATCH v2 03/11] trace: [ust] fix generation of 'trace.c' on events without args, Lluís, 2011/04/06
- [Qemu-devel] [PATCH v2 04/11] trace: [trace-events] fix print formats in some events, Lluís, 2011/04/06
- [Qemu-devel] [PATCH v2 05/11] trace: [simple] minor code fixes on conditional compilation, Lluís, 2011/04/06
- [Qemu-devel] [PATCH v2 01/11] minor whitespace/indentation fixes, Lluís, 2011/04/06
- [Qemu-devel] [PATCH v2 06/11] trace: generalize the "property" concept in the trace-events file, Lluís, 2011/04/06
- Re: [Qemu-devel] [PATCH v2 06/11] trace: generalize the "property" concept in the trace-events file,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH v2 07/11] trace-state: always use the "nop" backend on events with the "disable" keyword, Lluís, 2011/04/06
- [Qemu-devel] [PATCH v2 08/11] trace-state: [simple] disable all trace points by default, Lluís, 2011/04/06
- [Qemu-devel] [PATCH v2 09/11] trace-state: [simple] add "-trace events" argument to control initial state, Lluís, 2011/04/06
- [Qemu-devel] [PATCH v2 10/11] trace-state: [stderr] add support for dynamically enabling/disabling events, Lluís, 2011/04/06
- Re: [Qemu-devel] [PATCH v2 10/11] trace-state: [stderr] add support for dynamically enabling/disabling events, Stefan Hajnoczi, 2011/04/23
- Re: [Qemu-devel] [PATCH v2 10/11] trace-state: [stderr] add support for dynamically enabling/disabling events, Paolo Bonzini, 2011/04/24
- Re: [Qemu-devel] [PATCH v2 10/11] trace-state: [stderr] add support for dynamically enabling/disabling events, Stefan Hajnoczi, 2011/04/24
- Re: [Qemu-devel] [PATCH v2 10/11] trace-state: [stderr] add support for dynamically enabling/disabling events, Lluís, 2011/04/25
- Re: [Qemu-devel] [PATCH v2 10/11] trace-state: [stderr] add support for dynamically enabling/disabling events, Paolo Bonzini, 2011/04/25
- Re: [Qemu-devel] [PATCH v2 10/11] trace-state: [stderr] add support for dynamically enabling/disabling events, Fabien Chouteau, 2011/04/26