[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH] simpletrace: Inline runtime state check
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] Re: [PATCH] simpletrace: Inline runtime state check |
Date: |
Tue, 19 Oct 2010 16:18:38 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Tue, Oct 19, 2010 at 04:14:09PM +0200, Jan Kiszka wrote:
> Instead of preparing all traced args, jumping into the common trace
> function, even collecting a timestamp, do the check if a particular
> tracepoint is enabled inline. Also, mark the enabled case unlikely to
> motivate the compiler to push the trace code out of the fastpath.
>
> Signed-off-by: Jan Kiszka <address@hidden>
> ---
> simpletrace.c | 4 ----
> tracetool | 7 +++++--
> 2 files changed, 5 insertions(+), 6 deletions(-)
Acked-by: Stefan Hajnoczi <address@hidden>