Re: [PATCH] [1/2] perf: Make location of kernel source configurable

From: Ingo Molnar
Date: Mon Dec 07 2009 - 02:07:32 EST



* Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:

> On Sun, Dec 06, 2009 at 03:07:30PM +0100, Andi Kleen wrote:
> >
> > tools/perf has no support for separate object directories
> > and lots of hard coded paths assuming that the kernel source
> > is always in ../..
> >
> > As a first step of compiling it separately without messing
> > up clean source trees allow to configure the kernel source
> > location using a KERNELSRC variable
> >
> > This allows at least to copy the whole tools/perf
> > directory elsewhere and build it separately.
> >
> > The default is still ../.., so for a standard build
> > nothing changes
> >
> > This also removes a lot of ugly ../.. from the source.
> >
> > Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
>
> It does not apply cleanly, it seems you are using 2.6.32 There have a
> been a lot of updates in this merge window.
>
> Could you please resend against latest linus tree?

Even better would be a patch against latest -tip:

http://people.redhat.com/mingo/tip.git/README

which includes the latest perf event tree.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/