[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] tracetool: Include osdep.h in generated-ust.c
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH] tracetool: Include osdep.h in generated-ust.c |
Date: |
Tue, 23 Feb 2016 08:41:22 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
On 02/23/2016 08:17 AM, Peter Maydell wrote:
> When generating the trace/generated-ust.c source file, make sure
> it includes osdep.h as its first include.
>
> This fixes compilation with --enable-trace-backends=ust
>
> Signed-off-by: Peter Maydell <address@hidden>
> ---
> Picked up by the travis build tests.
>
> scripts/tracetool/format/ust_events_c.py | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/scripts/tracetool/format/ust_events_c.py
> b/scripts/tracetool/format/ust_events_c.py
> index bc97093..52100c0 100644
> --- a/scripts/tracetool/format/ust_events_c.py
> +++ b/scripts/tracetool/format/ust_events_c.py
> @@ -22,6 +22,8 @@ def generate(events, backend):
>
> out('/* This file is autogenerated by tracetool, do not edit. */',
> '',
> + '#include "qemu/osdep.h"',
> + '',
TAB-damaged. With that fixed,
Reviewed-by: Eric Blake <address@hidden>
> '#define TRACEPOINT_DEFINE',
> '#define TRACEPOINT_CREATE_PROBES',
> '',
>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature