Re: problems with lttng for powerpc and kernel 2.6.21

Gunnar Larisch <[email protected]> Thu, 06 Sep 2007 18:38:54 +0200
Newsgroups gmane.linux.kernel.tracing
Message-ID <[email protected]>
Hi,

Holger Brunck wrote:
> Ok I saw in the Kconfig file that I have to activate CRC32 to be able to
> use the activate the probes. Now I have unresolved symbols:
>  ltt/built-in.o: In function `ltt_relay_finish_channel':
> ltt-relay.c:(.text+0x2ec4): undefined reference to `cmpxchg_local'
> ltt/built-in.o: In function `ltt_relay_reserve_slot':
> ltt-relay.c:(.text+0x3324): undefined reference to `cmpxchg_local'
> 
> But I need relay&debugfs support. 

Mathieu and me made a patch to solve this kind of problem. I will 
forward this patch to you, which was at this list on Jul, 24th.
I hope this still works on an "old" 2.6.21 Kernel. I haven't noticed any 
problems right now with this patch.

Regards,
Gunnar
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: [email protected]