tracetool: Include osdep.h in generated-ust.c
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.maydell@linaro.org> Message-id: 1456240661-15422-1-git-send-email-peter.maydell@linaro.org Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
90ce6e2644
commit
3174c64bb7
@ -21,6 +21,8 @@ def generate(events, backend):
|
||||
if "disabled" not in e.properties]
|
||||
|
||||
out('/* This file is autogenerated by tracetool, do not edit. */',
|
||||
'',
|
||||
'#include "qemu/osdep.h"',
|
||||
'',
|
||||
'#define TRACEPOINT_DEFINE',
|
||||
'#define TRACEPOINT_CREATE_PROBES',
|
||||
|
Loading…
Reference in New Issue
Block a user