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> > '#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