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

Stanciu, Alin Alin.Stanciu at spirent.com
Thu Jun 6 18:21:10 EDT 2019


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

T: +44(0)1803.546.306  | M: 07518.071.507
Alin.Stanciu at spirent.com<mailto:Alin.Stanciu at spirent.com> | www.spirent.com<http://www.spirent.com/>
Aspen Way, Yalberton Industrial Estate, Paignton, U.K. TQ47QR
[Spirent]<https://www.linkedin.com/company/spirent-communications/> [Spirent] <https://twitter.com/intent/user?screen_name=Spirent>  [Spirent] <https://www.youtube.com/user/spirentvideos>  [Spirent] <https://www.facebook.com/spirent>
[Spirent]<http://www.spirent.com/>
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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20190606/d645649a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 1901 bytes
Desc: image001.gif
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20190606/d645649a/attachment-0005.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: image/gif
Size: 1876 bytes
Desc: image002.gif
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20190606/d645649a/attachment-0006.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.gif
Type: image/gif
Size: 1958 bytes
Desc: image003.gif
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20190606/d645649a/attachment-0007.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.gif
Type: image/gif
Size: 1828 bytes
Desc: image004.gif
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20190606/d645649a/attachment-0008.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.gif
Type: image/gif
Size: 5352 bytes
Desc: image005.gif
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20190606/d645649a/attachment-0009.gif>


More information about the lttng-dev mailing list