[ltt-dev] [PATCH 1/1] Fix compilation on uclibc

Cui, Dexuan dexuan.cui at intel.com
Mon Jun 13 12:05:56 EDT 2011


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.

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



More information about the lttng-dev mailing list