[lttng-dev] Kernel trace on Linux distro called YOCTO

Jonathan Rajotte-Julien jonathan.rajotte-julien at efficios.com
Fri Jun 7 17:32:33 EDT 2019


Hi Alin,

If I'm not mistaken, we had a *debugging* session on IRC together regarding
this.

>From what I gather it was mostly a library lookup problem for lttng-consumerd.

Please post a summary of the solution here just in case even if it does not
seem to be directly lttng's fault so far.

Cheers.

On Thu, Jun 06, 2019 at 10:21:10PM +0000, Stanciu, Alin wrote:
> Hi,
> 
> I'm trying to use LTTng to trace Linux events on a Linux distro called YOCTO.
> Using the following commands, I do not get any kernel events in the LTTng trace
> 
> "
> lttng create my-kernel-session --output=/tmp/my-kernel-trace
> lttng enable-channel test --kernel --subbuf-size=10000000
> lttng enable-event --kernel --all -c test
> lttng add-context -k -t vpid -t vtid -t procname
> lttng start
> "
> 
> The resulting trace is empty.
> 
> No matter what I try, I can't seem to get any kernel events thorough to LTTng.
> 
> Using v2.8.8.
> 
> Any ideas?
> 
> Thanks in advance.
> 
> Best Regards,
> alin stanciu
> Assistant Software Team Manager

-- 
Jonathan Rajotte-Julien
EfficiOS


More information about the lttng-dev mailing list