On 23 February 2016 at 15:41, Eric Blake <ebl...@redhat.com> wrote:
> 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 <peter.mayd...@linaro.org>
>> ---
>> 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 <ebl...@redhat.com>

Thanks; applied to master as a buildfix (with the tab damage fixed).

-- PMM

Reply via email to