[ltt-dev] Debian libust-dev package

Mathieu Desnoyers compudj at krystal.dyndns.org
Mon Feb 7 12:14:45 EST 2011

* Stefan Hajnoczi (stefanha at gmail.com) 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.



> Stefan
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev

Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.

More information about the lttng-dev mailing list