[ltt-dev] [PATCH 1/1] Fix compilation on uclibc
Mathieu Desnoyers
compudj at krystal.dyndns.org
Mon Jun 13 12:30:34 EDT 2011
* Cui, Dexuan (dexuan.cui at intel.com) wrote:
> Mathieu Desnoyers wrote:
> > * Dexuan Cui (dexuan.cui at intel.com) wrote:
> >
> > I am going for an approach less intrusive into the code:
> >
> > adding ust/compat.h with the sched_getcpu wrapper, and including it
> > into tracer.h: commit 0a2aba1397f90fa65c293ab856d18579ae14b77f
> Hi Mathieu,
> Sorry, actually it's my first time to submit patch to ust -- where is the commit 0a2aba139?
> I can't find it in git://git.lttng.org/ust.git.
My bad, I did not push them into the public repository. You can try
again now.
Thanks,
Mathieu
>
> >
> >> cpu = sched_getcpu();
> >> +#endif
> >> if (likely(cpu >= 0))
> >> return cpu;
> >> /*
> >> diff --git a/libustcomm/ustcomm.c b/libustcomm/ustcomm.c
> >> index 3c7c0bb..07f7f87 100644
> >> --- a/libustcomm/ustcomm.c
> >> +++ b/libustcomm/ustcomm.c
> >> @@ -33,7 +33,6 @@
> >> #include <stdio.h>
> >> #include <stdlib.h>
> >> #include <string.h>
> >> -#include <execinfo.h>
> >
> > I created a separate commit for this one:
> >
> > 5c3950f8809ce2c5272fdbfa27b606f648b485fb
> Ditto. I can't find it in git://git.lttng.org/ust.git.
>
> Thanks,
> -- Dexuan
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
More information about the lttng-dev
mailing list