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

Stanciu, Alin Alin.Stanciu at spirent.com
Mon Jun 10 13:03:55 EDT 2019


Hello Jonathan,

Indeed, it was a library lookup problem, certainly not a problem with LTTng.

Attached is the solution. 

Many Thanks for the help.

Kind Regards,

ALIN STANCIU
Assistant Software Team Manager

T: +44(0)1803.546.306  | M: 07518.071.507
Alin.Stanciu at spirent.com | www.spirent.com
Aspen Way, Yalberton Industrial Estate, Paignton, U.K. TQ47QR
   

Spirent Communications e-mail confidentiality.
This email and the information contained therein may contain private, confidential or privileged material solely meant for the intended recipient. If you are not the intended recipient review, copying or distribution is forbidden. Further, if you are not the intended recipient, please contact the sender immediately and permanently delete this email and any copies or attachments. 

-----Original Message-----
From: Jonathan Rajotte-Julien <jonathan.rajotte-julien at efficios.com> 
Sent: 07 June 2019 22:33
To: Stanciu, Alin <Alin.Stanciu at spirent.com>
Cc: lttng-dev at lists.lttng.org
Subject: Re: [lttng-dev] Kernel trace on Linux distro called YOCTO

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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: enable_kernel_tracing_history.txt
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20190610/cb2ed339/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: enable_kernel_tracing_history.txt
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20190610/cb2ed339/attachment-0001.txt>


More information about the lttng-dev mailing list