[ltt-dev] problem with patches for 2.6.29

sindu sindhu sindhu4sind at yahoo.com
Wed Jan 19 21:49:20 EST 2011


Hello Mathieu and all,

Thanks for your response Mathieu,

I  also guess that may be ltt-control is not installing properly on my  target 
system.. I am attaching the files, are log files of my  commands on ltt-control 
.

I am using a toolchain for cross compiling  (4.2.2-eabi) 


#   CC=arm-unknown-linux-gnueabi-gcc ./configure  
--prefix=/directory/path/for/installing/lttcontrols/ 
--host=arm-unknown-linux-gnueabi  --build=i686-pc-linux-gnu

than
#  make 
#  make install 

I am not so good with cross compiling; this is first time i am using it.. I have 
doubt that I am on mistake here.

thanks for helping..


~::Raheel::~




________________________________
From: Mathieu Desnoyers <compudj at krystal.dyndns.org>
To: sindu sindhu <sindhu4sind at yahoo.com>
Cc: lttng polymtl.ca <ltt-dev at lists.casi.polymtl.ca>
Sent: Fri, January 14, 2011 1:34:38 AM
Subject: Re: [ltt-dev] problem with patches for 2.6.29

* sindu sindhu (sindhu4sind at yahoo.com) wrote:
> 
> 
>  Thanks Matheiu for your response,
> 
> It was again creating the same error after applying patchset  lttng 0.124.  I 
> comment the "goto memcpy_fallback;" statement in 
> /linux-2.6.29/include/ltt-relay.h .This line was appeared for 3 times in switch 
>
> cases(2, 4 and 8).

Weird. Make sure you have a clean tree before you apply the patchset.

> 
> 
> after commenting these statements it seems that it worked fine, i compiled and 

> burned kernel image on my Device. And my device is working there fine.
> 
> I cross-compiled ltt-control-0.75 for Architecture=arm, and prefix in a user 
> folder, copied that user folder in the filesystem of my target.
> 
> mounted /mnt/debugfs from fstab this is also correctly mounted.
> 
> Installed lttv on my host pc..
> 
> started adb shell and typed "ltt-armall"
> 
> $ ltt-armall
> ltt-armall: not found!

ltt-armall.sh is distributed with ltt-control. Maybe your make install
did not install it, and you might want to copy it by hand to your
target.

Mathieu

> 
> Any suggestion!?
> Thanks in advance for your response..
> 
> ~::Rahee::~
> 
> 
> 
> 
> ________________________________
> From: Mathieu Desnoyers <compudj at krystal.dyndns.org>
> To: sindu sindhu <sindhu4sind at yahoo.com>
> Cc: ltt-dev at lists.casi.polymtl.ca
> Sent: Wed, January 12, 2011 11:54:42 AM
> Subject: Re: [ltt-dev] problem with patches for 2.6.29
> 
> (ccing ltt-dev)
> 
> * Mathieu Desnoyers (compudj at krystal.dyndns.org) wrote:
> > (sorry for breaking threading, I had problem receiving ltt-dev emails
> > lately)
> > 
> > 
> > > Hello to Matheiu and all,
> > > 
> > > I am facing problem in patches..
> > > 
> > > - Linux kernel 2.6.29
> > > - patches : patch-2.6.29-lttng-0.122
> > > 
> > > applying patches create some Failures.
> > 
> > 
> > Please try using a different patchset version. Refer to
>>http://git.lttng.org/?p=lttv.git;a=blob_plain;f=doc/developer/lttng-lttv-compatibility.html;hb=HEAD
>D
> >D
> > 
> > for the compatibility list. I would recommend trying, e.g. 0.124 on a
> > 2.6.29.1 kernel.
> > 
> > Good luck,
> > 
> > Mathieu
> > 
> > > 
> > > #quilt push -avf
> > > 
> > > ...............some failures while applying patches...................
> > > 
> > > Applying patch 
> lttng-instrumentation-fix-tracepoints-for-network-socket.patch
> > > patching file net/socket.c
> > > Hunk #1 FAILED at 576.
> > > Hunk #2 succeeded at 601 (offset 9 lines).
> > > Hunk #3 FAILED at 669.
> > > Hunk #4 succeeded at 692 (offset 14 lines).
> > > 2 out of 4 hunks FAILED -- saving rejects to file net/socket.c.rej
> > > Applied patch 
>lttng-instrumentation-fix-tracepoints-for-network-socket.patch 
>
> 
> > > (forced; needs refresh)
> > > 
> > > 
> > > 
> > > #make menuconfig
> > > 
> > > ...........I just enabled LTTng, the options inside this are same, i didn't 
>
> > > changed them...........
> > > 
> > > [*] Linux Trace Toolkit Next Generation (LTTng)  ---> 
> > > 
> > > #make zImage
> > > 
> > > ............these are some last lines where it creates error............
> > > 
> > > In file included from include/linux/ltt-tracer.h:19,
> > >                  from kernel/marker.c:29:
> > > include/linux/ltt-relay.h: In function 'ltt_relay_do_copy':
> > > include/linux/ltt-relay.h:255: error: label 'memcpy_fallback' used but not 

> > > defined
> > > make[1]: *** [kernel/marker.o] Error 1
> > > make: *** [kernel] Error 2
> > > 
> > > 
> > > Although i tried all patches for kernel version 2.6.29 but these all are 
> > > creating error!
> > > how can i fix it...
> > > 
> > > ~::Raheel::~
> > 
> > -- 
> > Mathieu Desnoyers
> > Operating System Efficiency R&D Consultant
> > EfficiOS Inc.
> > http://www.efficios.com
> 
> -- 
> Mathieu Desnoyers
> Operating System Efficiency R&D Consultant
> EfficiOS Inc.
> http://www.efficios.com
> 
> 
> 
>      
-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20110119/073d92fb/attachment-0003.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: configure.txt
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20110119/073d92fb/attachment-0009.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: make install.txt
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20110119/073d92fb/attachment-0010.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: make.txt
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20110119/073d92fb/attachment-0011.txt>


More information about the lttng-dev mailing list