Re: problems with lttng for powerpc and kernel 2.6.21

Mathieu Desnoyers <[email protected]> Thu, 6 Sep 2007 06:14:02 -0400
Newsgroups gmane.linux.kernel.tracing
Message-ID <20070906101401.GA14454@Krystal>
* Holger Brunck ([email protected]) wrote:
> Hi all, 

Hi,


> I patched the linux-2.6.21 kernel tree with the
> patch-2.6.21-lttng-0.9.5.tar.bz2 patch. This works without problems.
> Then I try to make a kernel config for the MPC8272ADS board (ppc). This
> causes trouble I get the following warnings: 
> ltt/Kconfig:245:warning: 'select' used by config symbol
> 'LTT_PROBE_LOCKING' refer to undefined symbol 'TRACE_IRQFLAGS_SUPPORT'
> ltt/Kconfig:246:warning: 'select' used by config symbol
> 'LTT_PROBE_LOCKING' refer to undefined symbol 'STACKTRACE_SUPPORT'
> ltt/Kconfig:247:warning: 'select' used by config symbol
> 'LTT_PROBE_LOCKING' refer to undefined symbol 'LOCKDEP_SUPPORT'
> ltt/Kconfig:271:warning: 'select' used by config symbol
> 'LTT_PROCESS_STACK' refer to undefined symbol 'UNWIND_INFO'
> ltt/Kconfig:272:warning: 'select' used by config symbol
> 'LTT_PROCESS_STACK' refer to undefined symbol 'STACK_UNWIND'
> 

Those are "ok".. they are i386/x86_64 specific, I should deal
differently with their dependencies. They do not affect other builds
though.

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

> Is there another kernel tree which is better supported for PPC? 

It should be supported by that tree.

> Is there a already patched kernel tree available to test lttng?
> 

There is always the git tree on the website that has this version.

> I am new on this topic and try to get a good starting point. 
> 

Tell me if it helps,

Mathieu

> Many thanks in advance 
> Holger  
> _______________________________________________
> Ltt-dev mailing list
> [email protected]
> http://listserv.shafik.org/mailman/listinfo/ltt-dev
> 

-- 
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68