From mboxrd@z Thu Jan 1 00:00:00 1970 From: compudj@krystal.dyndns.org (Mathieu Desnoyers) Date: Mon, 13 Jun 2011 12:30:34 -0400 Subject: [ltt-dev] [PATCH 1/1] Fix compilation on uclibc In-Reply-To: <1865303E0DED764181A9D882DEF65FB699650124AE@shsmsx502.ccr.corp.intel.com> References: <1307947751-6738-1-git-send-email-dexuan.cui@intel.com> <1865303E0DED764181A9D882DEF65FB699650124AE@shsmsx502.ccr.corp.intel.com> Message-ID: * 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 > >> #include > >> #include > >> -#include > > > > 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