[poky] Pandaboard booting with Yocto with LTTng support

Ali, Nasir Nasir_Ali at mentor.com
Thu Jan 3 22:17:28 PST 2013


Hi Anna,

I have enabled the following in defconfig file. Apart from these I don't know what other configuration I need to enable for kernel tracing.

CONFIG_MODULES=y
CONFIG_KALLSYMS=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_FTRACE=y
CONFIG_TRACEPOINTS=y
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
CONFIG_HAVE_PERF_EVENTS=y
CONFIG_EVENT_TRACING=y
CONFIG_KPROBES=y
CONFIG_KRETPROBES=y

Best Regards,
Nasir
________________________________________
From: Anna Dushistova [anna.dushistova at gmail.com]
Sent: Thursday, January 03, 2013 9:20 PM
To: Ali, Nasir
Cc: poky at yoctoproject.org
Subject: Re: [poky] Pandaboard booting with Yocto with LTTng support

Hello,

Does your kernel image have tracing enabled?

Anna.

On Thu, Jan 3, 2013 at 4:06 PM, Ali, Nasir <Nasir_Ali at mentor.com> wrote:
> 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:
>
> Pull the Yocto sources from git: git clone --branch <release_name>
> git://git.yoctoproject.org/poky
> Pull meta-ti layer from git:git clone --branch <release_name>
> git://git.yoctoproject.org/meta-ti
> Run the environment setup script (oe-init-build-env)
> Add the machine name (MACHINE ?= "pandaboard") in local.conf file
> Add a line (BBMASK = "meta-ti/recipes-misc") at the end in local.conf file
> for resolving meta-ti dependencies
> Add a line (IMAGE_INSTALL_append = " dropbear") at the end in local.conf
> file for 'ssh' support if it required.
> Add a line (CORE_IMAGE_EXTRA_INSTALL = "lttng2-ust lttng-modules
> lttng-tools") at the end in local.conf file for LTTng2.
> Add meta-ti layer path in 'bblayers.conf' file
> 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
>
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>



More information about the poky mailing list