Re: build error - missing linux/ltt-facilities.h

Mathieu Desnoyers <[email protected]> Wed, 24 Oct 2007 08:52:11 -0400
Newsgroups gmane.linux.kernel.tracing
Message-ID <20071024125211.GA17841@Krystal>
* Andy Howell ([email protected]) wrote:
> Hello,
> 
> 	I'm trying to build kernel 2.6.23.1 using 
> patch-2.6.23.1-lttng-0.10-pre7-port.tar.bz2
> 
> Make exits with the error:
> 
> ltt/probes/ltt-probe-stack_arch_x86_64.c:15:34: linux/ltt-facilities.h: 
> No such file or directory
> 
> I grep'd through the patches and only found reference to the #include.
> 
> Is there a recommended kernel / patch combination?
> 

Just unselect the stack dump menuconfig option under
Instrumentation/Probes. It's not ready yet. The rest should work better.
I'll make sure it at least compiles though. Thanks for reporting.

> I tried the patch-2.6.22.1-rt4.lttng-0.10.tar.gz, but had to manually 
> fix linux/exit.c. It didn't have to ltt options in menuconfig. I'm 
> guessing 'rt4' refers to some "real-time" patch?
> 

Yup, it's on top of the rt preempt kernel. But it's better if you stick
to the 2.6.23.1 kernel.

Mathieu

> Thanks for your help.
> 
> Andy
> _______________________________________________
> Ltt-dev mailing list
> [email protected]
> http://listserv.shafik.org/mailman/listinfo/ltt-dev
> 

-- 
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68