[ltt-dev] 2.6.29-LTTng-0.116 on RT kernel

srikanth krishnakar skrishnakar at gmail.com
Thu Mar 26 14:25:06 EDT 2009


On Thu, Mar 26, 2009 at 10:14 PM, Mathieu Desnoyers <
compudj at krystal.dyndns.org> wrote:

> * srikanth krishnakar (skrishnakar at gmail.com) wrote:
> > Hi Mathieu,
> >
> >
> > I had some query regarding implementation of  *LTTng* on *RT* kernel. The
> > kernel version used is *Linux-2.6.29*, RT patch version is
> *patch-2.6.29-rt1
> > *and* *LTTng version is *2.6.29-lttng-0.116. *I see few of the LTTng
> commits
> > are already present in RT patch, I see few clashes in
> > include/linux/tracepoint.h file... Do I need to drop certain commits from
> > LTTng-2.6.29-0.116 to cleanly apply and integrate LTTng on top of RT
> kernel
> > ?
> >
>
> It is going to be a case-by-case thing. Some tracepoints commits are
> really needed. The immediate values-related commits can be ignored,
> since they represent an optimisation.
>
> Mathieu


Thanks Mathieu for the response.


I tried resolving few conflicts with but got the compile errors as below:

[root at srikanth linux-2.6.29]# make zImage
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-powerpc
  CALL    scripts/checksyscalls.sh
  CHK     include/linux/compile.h
  CC      arch/powerpc/kernel/ptrace.o
In file included from arch/powerpc/kernel/ptrace.c:35:
include/trace/syscall.h:6: error: expected ‘)’ before ‘(’ token
include/trace/syscall.h:6: error: expected ‘)’ before ‘(’ token
include/trace/syscall.h:6: error: expected ‘)’ before ‘(’ token
include/trace/syscall.h:6: warning: function declaration isn’t a prototype
include/trace/syscall.h: In function ‘register_trace_syscall_entry’:
include/trace/syscall.h:6: error: ‘probe’ undeclared (first use in this
function)
include/trace/syscall.h:6: error: (Each undeclared identifier is reported
only once
include/trace/syscall.h:6: error: for each function it appears in.)
include/trace/syscall.h: At top level:
include/trace/syscall.h:6: error: expected ‘)’ before ‘(’ token
include/trace/syscall.h:6: warning: function declaration isn’t a prototype
include/trace/syscall.h: In function ‘unregister_trace_syscall_entry’:
include/trace/syscall.h:6: error: ‘probe’ undeclared (first use in this
function)
include/trace/syscall.h: At top level:
include/trace/syscall.h:9: error: expected ‘)’ before ‘(’ token
include/trace/syscall.h:9: error: expected ‘)’ before ‘(’ token
include/trace/syscall.h:9: error: expected ‘)’ before ‘(’ token
include/trace/syscall.h:9: warning: function declaration isn’t a prototype
include/trace/syscall.h: In function ‘register_trace_syscall_exit’:
include/trace/syscall.h:9: error: ‘probe’ undeclared (first use in this
function)
include/trace/syscall.h: At top level:
include/trace/syscall.h:9: error: expected ‘)’ before ‘(’ token
include/trace/syscall.h:9: warning: function declaration isn’t a prototype
include/trace/syscall.h: In function ‘unregister_trace_syscall_exit’:
include/trace/syscall.h:9: error: ‘probe’ undeclared (first use in this
function)
arch/powerpc/kernel/ptrace.c: In function ‘do_syscall_trace_enter’:
arch/powerpc/kernel/ptrace.c:1028: error: implicit declaration of function
‘trace_syscall_entry’
arch/powerpc/kernel/ptrace.c: In function ‘do_syscall_trace_leave’:
arch/powerpc/kernel/ptrace.c:1065: error: implicit declaration of function
‘trace_syscall_exit’
make[1]: *** [arch/powerpc/kernel/ptrace.o] Error 1
make: *** [arch/powerpc/kernel] Error 2
[root at srikanth linux-2.6.29]#

Which commits from 2.6.29-LTTng-0.116 from can really be dropped and how we
are handling *preempt_enable* of RT before trace ?


Thanks ..
Srikanth

>
>
> > Note : ARCHITECTURE :* PowerPC**-440*
> >
> > Regards
> > Srikanth Krishnakar
> > **********************
>
> > _______________________________________________
> > ltt-dev mailing list
> > ltt-dev at lists.casi.polymtl.ca
> > http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
>
>
> --
> Mathieu Desnoyers
> OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68
>



-- 
"The Good You Do, The Best You GET"

Regards
Srikanth Krishnakar
**********************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20090326/6381e393/attachment-0003.htm>


More information about the lttng-dev mailing list