[poky] Pandaboard booting with Yocto with LTTng support

Ali, Nasir Nasir_Ali at mentor.com
Thu Jan 3 05:06:29 PST 2013


Hi,

I need to have LTTng kernel tracer support in Panda-board. I have successfully built Yocto with LTTng support for Pandaboard and also successfully booted with these images but LTTng kernel tracer doesn't work for me. I have built with the following steps:

  1.  Pull the Yocto sources from git: git clone --branch <release_name> git://git.yoctoproject.org/poky<https://webmail-eu.mentor.com/owa/UrlBlockedError.aspx>
  2.  Pull meta-ti layer from git:git clone --branch <release_name> git://git.yoctoproject.org/meta-ti<https://webmail-eu.mentor.com/owa/UrlBlockedError.aspx>
  3.  Run the environment setup script (oe-init-build-env)
  4.  Add the machine name (MACHINE ?= "pandaboard") in local.conf file
  5.  Add a line (BBMASK = "meta-ti/recipes-misc") at the end in local.conf file for resolving meta-ti dependencies
  6.  Add a line (IMAGE_INSTALL_append = " dropbear") at the end in local.conf file for 'ssh' support if it required.
  7.  Add a line (CORE_IMAGE_EXTRA_INSTALL = "lttng2-ust lttng-modules lttng-tools") at the end in local.conf file for LTTng2.
  8.  Add meta-ti layer path in 'bblayers.conf' file
  9.  Start building with bitbake core-image-minimal


Then booted successfully but LTTng kernel tracer doesn't work.


root at pandaboard:~# lttng list -k
Spawning a session daemon
FATAL: Module lttng-tracer not found.
Error: Unable to load module lttng-tracer
Error: Unable to remove module lttng-tracer
Warning: No kernel tracer available
FATAL: Module lttng-tracer not found.
Error: Unable to load module lttng-tracer
Error: Unable to remove module lttng-tracer
Warning: No kernel tracer available
Error: Unable to list kernel events

Could you please anybody guide me about this issue.

Best Regards,
Nasir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20130103/ae7ae456/attachment.html>


More information about the poky mailing list