[ltt-dev] LTTng 0.89 for Linux 2.6.29-rc3

Mathieu Desnoyers mathieu.desnoyers at polymtl.ca
Thu Feb 5 10:02:42 EST 2009


* Paul E. McKenney (paulmck at linux.vnet.ibm.com) wrote:
> On Fri, Jan 30, 2009 at 03:07:57PM -0500, Mathieu Desnoyers wrote:
> > Hi,
> > 
> > I just ported LTTng to the 2.6.29-rc3 kernel. It includes the following
> > changes :
> > 
> > - Tree RCU instrumentation
> > - Updated ext4 and jbd2 instrumentation
> > 
> > Please feel free to try it and report any success/problem you may have.
> > Note that cross-build has been slightly less tested this time because
> > I'll have to upgrade many of my compilers to a version compatible with
> > kernel 2.6.29-rc.
> > 
> > It also includes the recently added kprobes support through a simple
> > 
> > echo symbol_name > /mnt/debugfs/ltt/kprobes/enable
> > 
> > It's available at the new LTTng website :
> > 
> > http://www.lttng.org/
> 
> Hello, Matheiu,
> 
> When I try to apply this to v2.6.29-rc3, I get the following:
> 
> 	can't find file to patch at input line 61
> 	Perhaps you used the wrong -p or --strip option?
> 	The text leading up to this was:
> 	--------------------------
> 	|get_ltt_root() is necessary for ltt-trace-control to create subdirs in
> 	ltt's
> 	|debugfs dir.
> 	|
> 	|From: Zhao Lei <zhaolei at cn.fujitsu.com>
> 	|Signed-off-by: Zhao Lei <zhaolei at cn.fujitsu.com>
> 	|Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at polymtl.ca>
> 	|---
> 	| include/linux/ltt-core.h |    8 ++++++++
> 	| ltt/ltt-core.c           |   14 ++++++++++++++
> 	| ltt/ltt-relay.c          |    8 +-------
> 	| 3 files changed, 23 insertions(+), 7 deletions(-)
> 	|
> 	|Index: linux-2.6-lttng/include/linux/ltt-core.h
> 	|===================================================================
> 	|--- linux-2.6-lttng.orig/include/linux/ltt-core.h      2009-01-15
> 	15:55:18.000000000 -0500
> 	|+++ linux-2.6-lttng/include/linux/ltt-core.h   2009-01-15
> 	15:55:24.000000000 -0500
> 
> Help?
> 

Hi Paul,

I must admit I'm a bit puzzled. I've tried to quilt push -a both 
LTTng 0.89 and LTTng 0.92 taken from the website and they both apply
correctly on 2.6.29-rc3. When I quilt pop -a, neither of those 3 files
(include/linux/ltt-core.h, ltt/ltt-core.c, ltt/ltt-relay.c) are stucked
in my tree.

I've used files from :

http://www.lttng.org/files/lttng/patch-2.6.29-rc3-lttng-0.92.tar.bz2

Which tarballs are you using exactly ?

I guess you need to apply them to your existing tree, so pointing you to
git.kernel.org lttng tree won't help much here.

Mathieu

> 							Thanx, Paul

-- 
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68




More information about the lttng-dev mailing list