* Stefan Hajnoczi ([email protected]) wrote: > Hi Jon, > I am trying to build QEMU from source with UST tracing on Debian > testing. I've used your libust-dev package successfully in the past > but am hitting issues this time. > > It seems the libust-dev 0.5-1+squeeze1 does not depend on liburcu-dev > 0.5.2-1. The urcu header files are included by the ust header files > so this is needed. > > With libust-dev and liburcu-dev installed I cannot compile the > following program (which used to work fine): > #include <ust/tracepoint.h> > #include <ust/marker.h> > int main(void) { return 0; } > > In file included from a.c:1: > /usr/include/ust/tracepoint.h:188: error: field ‘list’ has incomplete type > In file included from a.c:2: > /usr/include/ust/marker.h:359: error: field ‘list’ has incomplete type > > I wanted to check with you first before debugging this or filing > Debian bugs. Any ideas?
UST should be upgraded to a newer version. We changed the list.h header in URCU to ensure we minimize the amount of namespace conflicts, and we had to change UST accordingly. Sorry for the trouble, but we had to do this change in order to facilitate instrumentation of large code-bases like MariaDB. Please note that if you upgrade UST, you will also have to update your QEMU tracepoint probes to add an additionnal argument, as described in the UST changelogs. Thanks, Mathieu > > Stefan > > _______________________________________________ > ltt-dev mailing list > [email protected] > http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev > -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com _______________________________________________ ltt-dev mailing list [email protected] http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
