[ltt-dev] problem with patches for 2.6.29
Mathieu Desnoyers
compudj at krystal.dyndns.org
Thu Jan 13 11:34:38 EST 2011
* 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
> >
> > 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
More information about the lttng-dev
mailing list