[ltt-dev] LTTng Build issue

Mathieu Desnoyers compudj at krystal.dyndns.org
Tue Oct 5 19:41:32 EDT 2010


* Srimanta Panda (srimanta.panda at gmail.com) wrote:
> Hi,
> 
> I am quite new to this LLTng.
> I am trying to build the Kernel 2.6.34 with the ltt patch .221 for ARM
> platform. Its gives me link error related to the  trace-clock
> functionalities.
> I tried to figured out and found that it is not able to compile the
> trace-clock.c because of some flag HAVE_TRACE_CLOCK_GENERIC, which is
> present in the KConfig of the init folder.

If you look at the download page
http://lttng.org/content/download

under the "Compatibility list"
http://lttng.org/cgi-bin/gitweb.cgi?p=lttv.git;a=blob_plain;f=doc/developer/lttng-lttv-compatibility.html;hb=HEAD

you will notice this:
"LTTng 0.230 fixes a trace clock Kconfig rebase error introduced
recently, and adds KVM instrumentation and probes."

So you'll have to either move to the newer lttng (and kernel version),
or backport the patch.

Thanks,

Mathieu

> 
> I tried to enable the flag in the "kernel.spec", but is not able to set it
> because it is inside of menuconfig for CGROUPS. If I enable CGROUPS, it
> tells me to disable some other flags which I have no idea it is correct to
> do so.
> 
> I saw the previous patches for the kernel 2.6.33 and found that the
> HAVE_TRACE_CLOCK and HAVE_TRACE_CLOCK_GENERIC is added in different
> locations. It was not inside CGROUP menuconfig.
> 
> I wondering if the two flags have been added in the wrong place in the new
> patch .221??
> 
> Can you please help me out if I am doing any thing wrong to set
> the trace-clock?
> 
> -- 
> Cheers,
> Srimanta

> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev


-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com




More information about the lttng-dev mailing list