From: "Paul E. McKenney" Subject: Re: [ltt-dev] LTTng 0.89 for Linux 2.6.29-rc3 Date: Thu, 5 Feb 2009 13:04:15 -0800 Message-ID: <20090205210415.GM6915@linux.vnet.ibm.com> References: <20090205140432.GE6915@linux.vnet.ibm.com> <20090205150242.GA27895@Krystal> <20090205151841.GF6915@linux.vnet.ibm.com> <20090205153825.GA30255@Krystal> <20090205155854.GG6915@linux.vnet.ibm.com> <5d5443650902050822r2e4d08ffg2322b45a5e009fb8@mail.gmail.com> <20090205180132.GJ6915@linux.vnet.ibm.com> <20090205183158.GA1969@Krystal> <20090205184456.GK6915@linux.vnet.ibm.com> <20090205202249.GA26964@Krystal> Reply-To: paulmck@linux.vnet.ibm.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Trilok Soni , ltt-dev@lists.casi.polymtl.ca, Ext4 Developers List , "Theodore Ts'o" , linux-kernel@vger.kernel.org To: Mathieu Desnoyers Return-path: Received: from e4.ny.us.ibm.com ([32.97.182.144]:56788 "EHLO e4.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752281AbZBEVEQ (ORCPT ); Thu, 5 Feb 2009 16:04:16 -0500 Content-Disposition: inline In-Reply-To: <20090205202249.GA26964@Krystal> Sender: linux-ext4-owner@vger.kernel.org List-ID: On Thu, Feb 05, 2009 at 03:22:49PM -0500, Mathieu Desnoyers wrote: > * Paul E. McKenney (paulmck@linux.vnet.ibm.com) wrote: > > On Thu, Feb 05, 2009 at 01:31:59PM -0500, Mathieu Desnoyers wrote: > > > * Paul E. McKenney (paulmck@linux.vnet.ibm.com) wrote: > > > > On Thu, Feb 05, 2009 at 09:52:16PM +0530, Trilok Soni wrote: > > > > > Hi Paul, > > > > > > > > > > On Thu, Feb 5, 2009 at 9:28 PM, Paul E. McKenney > > > > > wrote: > > > > > >> > > > > > >> Are you using quilt to apply the patchset series file in the right order ? > > > > > > > > > > > > Ummm... No. I never have used quilt. > > > > > > > > > > > > Ah, there is a series file. I guess it would not be too hard to make > > > > > > an appropriate "sh" command: > > > > > > > > > > How about trying? > > > > > > > > > > #quilt push -a > > > > > > > > Is the appropriate incantation as follows? > > > > > > > > cd > > > > mkdir patches > > > > cp /tmp/patch-2.6.29-rc3-lttng-0.92/* patches > > > > quilt push -a > > > > > > > > > > Yes, exactly. > > > > Whew! ;-) > > > > > And from there you can follow the LTTng manual here : > > > > > > http://ltt.polymtl.ca/svn/trunk/lttv/LTTngManual.html > > > > I get some fuzz and the following: > > > > patching file kernel/trace/trace-clock-32-to-64.c > > Patch attempted to create file kernel/trace/trace-clock-32-to-64.c, > > which already exists. > > Hunk #1 FAILED at 1. > > 1 out of 1 hunk FAILED -- rejects in file > > kernel/trace/trace-clock-32-to-64.c > > > > Should I be starting from somewhere other than v2.6.29-rc3? > > > > Let's see it step by step, that should get us there. > > With patches : > > mkdir ~/lttng > cd ~/lttng > wget http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.29-rc3.tar.bz2 > wget http://lttng.org/files/lttng/patch-2.6.29-rc3-lttng-0.92.tar.bz2 > bzip2 -cd linux-2.6.29-rc3.tar.bz2 |tar xvof - > bzip2 -cd patch-2.6.29-rc3-lttng-0.92.tar.bz2 |tar xvof - > cd linux-2.6.29-rc3 > mkdir patches > ln -s ../patch-2.6.29-rc3-lttng-0.92 patches > quilt push -a > > Does this work ? Leaving out the "mkdir", yes. My apologies -- I was forgetting that "git reset --hard" doesn't get rid of untracked files. I do see fuzz in a few places, but hopefully this is non-fatal. And in any case, I can now make the patch required to actually try this out. ;-) Thanx, Paul