[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH v5 10/14] trace: Provide a per-event status
From: |
Lluís Vilanova |
Subject: |
Re: [Qemu-devel] [RFC PATCH v5 10/14] trace: Provide a per-event status define for conditional compilation |
Date: |
Mon, 12 Mar 2012 16:25:41 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
Harsh Prateek Bora writes:
> diff --git a/docs/tracing.txt b/docs/tracing.txt
> index 95ca16c..ab9048c 100644
> --- a/docs/tracing.txt
> +++ b/docs/tracing.txt
> @@ -39,12 +39,12 @@ 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_vmalloc(size_t size)
> {
> void *ptr;
> size_t align = QEMU_VMALLOC_ALIGN;
> -
> +
> if (size < align) {
> align = getpagesize();
> }
This was not present in my original patch, and will break the display of the
example when pasted into the wiki.
Lluis
--
"And it's much the same thing with knowledge, for whenever you learn
something new, the whole world becomes that much richer."
-- The Princess of Pure Reason, as told by Norton Juster in The Phantom
Tollbooth
- [Qemu-devel] [RFC PATCH v5 05/14] trace: [tracetool] Add support for event properties, (continued)
- [Qemu-devel] [RFC PATCH v5 05/14] trace: [tracetool] Add support for event properties, Harsh Prateek Bora, 2012/03/01
- [Qemu-devel] [RFC PATCH v5 07/14] trace: [tracetool] Rewrite event argument parsing, Harsh Prateek Bora, 2012/03/01
- [Qemu-devel] [RFC PATCH v5 11/14] trace: [tracetool] Add error-reporting functions, Harsh Prateek Bora, 2012/03/01
- [Qemu-devel] [RFC PATCH v5 02/14] trace: [tracetool] Do not rebuild event list in backend code, Harsh Prateek Bora, 2012/03/01
- [Qemu-devel] [RFC PATCH v5 08/14] trace: [tracetool] Make format-specific code optional with access to events, Harsh Prateek Bora, 2012/03/01
- [Qemu-devel] [RFC PATCH v5 03/14] trace: [tracetool] Simplify event line parsing, Harsh Prateek Bora, 2012/03/01
- [Qemu-devel] [RFC PATCH v5 13/14] Simpletrace v2: Handle var num of args, strings., Harsh Prateek Bora, 2012/03/01
- [Qemu-devel] [RFC PATCH v5 09/14] trace: [tracetool] Automatically establish available backends and formats, Harsh Prateek Bora, 2012/03/01
- [Qemu-devel] [RFC PATCH v5 04/14] trace: [tracetool] Do not precompute the event number, Harsh Prateek Bora, 2012/03/01
- [Qemu-devel] [RFC PATCH v5 10/14] trace: Provide a per-event status define for conditional compilation, Harsh Prateek Bora, 2012/03/01
- Re: [Qemu-devel] [RFC PATCH v5 10/14] trace: Provide a per-event status define for conditional compilation,
Lluís Vilanova <=
- [Qemu-devel] [RFC PATCH v5 01/14] Converting tracetool.sh to tracetool.py, Harsh Prateek Bora, 2012/03/01
- Re: [Qemu-devel] [RFC PATCH v5 00/14] Tracing Improvements, Simpletrace v2, Lluís Vilanova, 2012/03/13