<br><br><div class="gmail_quote">2012/5/21 Stanislav Vovk <span dir="ltr"><<a href="mailto:stanislav.vovk@ericsson.com" target="_blank">stanislav.vovk@ericsson.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div>
<div><span style="FONT-SIZE:10pt;FONT-FAMILY:Arial"><span>Hi </span></span></div>
<div><span style="FONT-SIZE:10pt;FONT-FAMILY:Arial"><span></span></span> </div>
<div><font face="Arial"><span>I am using Linux
kernel 3.2 on PowerPC and have a question about LTTng2 kernel
modules. </span></font></div>
<div><font face="Arial"><span>As stated in
the README CONFIG_TRACEPOINTS is required, in my kernel config it does
not exist. Do I need to patch my kernel to build LTTng modules and
make it work? Or how to proceed ... It seems like I cant get modules to build at
the moment.</span></font></div></div></blockquote><div><br></div><div><div>The CONFIG_TRACEPOINTS option can be set when compiling the kernel. If your kernel is not compiled with this option, then it must be recompiled. </div>
<div><br></div><div>With make menuconfig, enable the option by selecting this item:</div><div><br></div><div>Kernel hacking ---> Tracers</div></div><div><br></div><div>Then, after compilation and installation of the new kernel and a reboot, lttng-modules should build. </div>
<div><br></div><div>If you want to specify the source directory of the kernel for lttng-modules, use the env var like this:</div><div><br></div><div>KERNELDIR=../dir-to-linux make modules</div><div><br></div><div>Francis</div>
</div>