[lttng-dev] Lttng start failed

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Fri Jun 8 13:42:26 EDT 2012


* Pavan Anumula (pavan.anumula at sasken.com) wrote:
> Hi ,
> 
> I am new to LTTng usage, I am trying to use LTTng 2.0.1 and LTTng-modules-2.0.2  for ARM(omapL138), with Linux kernel 2.6.33 wit RT-29 patch on it.
> 
> After enabling all the kernel events I am facing the below errors. I loaded all the modules manually by insmod.
> 
> 
> 
> root at arago:~/lttng-traces# arm-none-linux-gnueabi-lttng create newsessiom
> Session newsessiom created.
> Traces will be written in /home/root/lttng-traces/newsessiom-20110325-154922
> 
> root at arago:~/lttng-traces# arm-none-linux-gnueabi-lttng enable-event -a --kernel
> All kernel events are enabled in channel channel0
> 
> root at arago:~/lttng-traces# arm-none-linux-gnueabi-lttng start
> LTTng: Failure to write metadata to buffers (timeout)
> Error: Starting kernel trace failed
> 
> Please kindly help me on this.

I think you should look into the lttng-sessiond --help :

      --consumerd32-path PATH     Specify path for the 32-bit UST consumer daemon binary
      --consumerd32-libdir PATH   Specify path for the 32-bit UST consumer daemon libraries
      --consumerd64-path PATH     Specify path for the 64-bit UST consumer daemon binary
      --consumerd64-libdir PATH   Specify path for the 64-bit UST consumer daemon libraries

options. My guess is that lttng-sessiond is not able to find the
consumerd binary files, maybe due to a rename or because they have been
moved after install.

One more thing that might help is to launch the lttng-sessiond with
"-vvv" : it will provide verbose output and let us know where things
fall apart.

Thanks,

Mathieu


> 
> 
> Thanks in advance,
> Pavan
> 
> ________________________________
> SASKEN BUSINESS DISCLAIMER: This message may contain confidential, proprietary or legally privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited ("Sasken") unless sent with that express intent and with due authority of Sasken. Sasken has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email.
> Read Disclaimer at http://www.sasken.com/extras/mail_disclaimer.html

> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev


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



More information about the lttng-dev mailing list