Re: problems with lttng for powerpc and kernel 2.6.21

Holger Brunck <[email protected]> Thu, 06 Sep 2007 17:58:19 +0200
Newsgroups gmane.linux.kernel.tracing
Organization Keymile GmbH
Message-ID <[email protected]>
On Thu, 2007-09-06 at 15:27 +0200, Holger Brunck wrote:
> > 
> > > And the ltt can not be found in the "Instrumentation Support" section of
> > > menuconfig. Some stuff seems not to be ported to powerpc in this tree.
> > > Can anybody give me a hint how to go further?
> > 
> > Look in arch/ppc/Kconfig for "source "ltt/Kconfig"" to see if it is in
> > the right menu.
> > 
> > I guess the problem is because you have not selected the "Linux Kernel
> > Markers" in the Instrumentation Menu.
> 
> 
> Ok I am two steps further. If I make a menuconfig from scratch I can
> activate everything needed for LTTNG and everything looks good.
> 
> But when I previously make ads8272_defconfig to generate a .config for
> my board and afterwards make a menuconfig, there are entrys missing. 
> There are no Probes available. And I guess if I can not activate a probe
> I can not trace something. Am I right? 
> 
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. 

Regards 
Holger