<meta http-equiv="Content-Type" content="text/html; charset=GB18030"><div><div class="issue tracker-1 status-1 priority-5 priority-high2 created-by-me details" style="background: rgb(255, 255, 221); padding: 6px; margin-bottom: 6px; border: 1px solid rgb(215, 215, 215); border-radius: 3px;"><div class="description" style=""><div class="wiki" style=""><p style="color: rgb(51, 51, 51); font-family: Verdana, sans-serif; font-size: 12px;">Hello, I installed lttng and lttng modules on NVIDIA Orin.<br>When using apt install, the results are as follows.<br></p><pre style="color: rgb(51, 51, 51); font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; font-size: 12px; margin: 1em 1em 1em 1.6em; padding: 8px; background-color: rgb(250, 250, 250); border: 1px solid rgb(226, 226, 226); border-radius: 3px; width: auto; overflow: auto hidden;"><code class="shell syntaxhl" data-language="shell" style="font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;"><span class="c" style="color: rgb(136, 136, 136);"># lttng list --kernel</span>
Error: Unable to list kernel events: Kernel tracer not available
</code></pre><p style="color: rgb(51, 51, 51); font-family: Verdana, sans-serif; font-size: 12px;"></p><pre style="color: rgb(51, 51, 51); font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; font-size: 12px; margin: 1em 1em 1em 1.6em; padding: 8px; background-color: rgb(250, 250, 250); border: 1px solid rgb(226, 226, 226); border-radius: 3px; width: auto; overflow: auto hidden;"><code class="shell syntaxhl" data-language="shell" style="font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;"><span class="c" style="color: rgb(136, 136, 136);">#ps aux | grep lttng-sessiond</span>
root 52100 0.0 0.0 1022064 12736 ? Ssl 15:05 0:00 /usr/bin/lttng-sessiond
root 52101 0.0 0.0 41968 664 ? S 15:05 0:00 /usr/bin/lttng-sessiond
orin-d 62549 0.0 0.0 11640 684 pts/0 S+ 20:54 0:00 <span class="nb" style="color: rgb(0, 112, 32);">grep</span> <span class="nt" style="color: rgb(0, 119, 0);">--color</span><span class="o">=</span>auto lttng-sessiond
</code></pre><pre style="color: rgb(51, 51, 51); font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; font-size: 12px; margin: 1em 1em 1em 1.6em; padding: 8px; background-color: rgb(250, 250, 250); border: 1px solid rgb(226, 226, 226); border-radius: 3px; width: auto; overflow: auto hidden;"># dpkg -l | grep lttng
ii liblttng-ctl0:arm64 2.12.4-1~ubuntu20.04.1 arm64 LTTng control and utility library
ii liblttng-ust-ctl4:arm64 2.12.2-1~ubuntu20.04.1 arm64 LTTng 2.0 Userspace Tracer (trace control library)
ii liblttng-ust-dev:arm64 2.12.2-1~ubuntu20.04.1 arm64 LTTng 2.0 Userspace Tracer (development files)
ii liblttng-ust-python-agent0:arm64 2.12.2-1~ubuntu20.04.1 arm64 LTTng 2.0 Userspace Tracer (Python agent native library)
ii liblttng-ust0:arm64 2.12.2-1~ubuntu20.04.1 arm64 LTTng 2.0 Userspace Tracer (tracing libraries)
ii lttng-modules-dkms 2.12.6-1~ubuntu20.04.1 all Linux Trace Toolkit (LTTng) kernel modules (DKMS)
ii lttng-tools 2.12.4-1~ubuntu20.04.1 arm64 LTTng control and utility programs
ii python3-lttng 2.12.4-1~ubuntu20.04.1 arm64 LTTng control and utility Python bindings
</pre><p style="color: rgb(51, 51, 51); font-family: Verdana, sans-serif; font-size: 12px;">The device information is as follows.<br></p><pre style="color: rgb(51, 51, 51); font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; font-size: 12px; margin: 1em 1em 1em 1.6em; padding: 8px; background-color: rgb(250, 250, 250); border: 1px solid rgb(226, 226, 226); border-radius: 3px; width: auto; overflow: auto hidden;"><code class="shell syntaxhl" data-language="shell" style="font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;"><span class="c" style="color: rgb(136, 136, 136);"># uname -a</span>
Linux orind-d 5.10.65-tegra <span class="c" style="color: rgb(136, 136, 136);">#2 SMP PREEMPT Thu Jun 16 18:24:26 CST 2022 aarch64 aarch64 aarch64 GNU/Linux</span>
</code></pre><br><pre style="color: rgb(51, 51, 51); font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; font-size: 12px; margin: 1em 1em 1em 1.6em; padding: 8px; background-color: rgb(250, 250, 250); border: 1px solid rgb(226, 226, 226); border-radius: 3px; width: auto; overflow: auto hidden;"><code class="shell syntaxhl" data-language="shell" style="font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial;"><span class="c" style="color: rgb(136, 136, 136);"># cat /etc/os-release</span>
<span class="nv" style="color: rgb(153, 102, 51);">NAME</span><span class="o">=</span><span class="s2" style="background-color: rgb(255, 240, 240);">"Ubuntu"</span>
<span class="nv" style="color: rgb(153, 102, 51);">VERSION</span><span class="o">=</span><span class="s2" style="background-color: rgb(255, 240, 240);">"20.04.4 LTS (Focal Fossa)"</span>
<span class="nv" style="color: rgb(153, 102, 51);">ID</span><span class="o">=</span>ubuntu
<span class="nv" style="color: rgb(153, 102, 51);">ID_LIKE</span><span class="o">=</span>debian
<span class="nv" style="color: rgb(153, 102, 51);">PRETTY_NAME</span><span class="o">=</span><span class="s2" style="background-color: rgb(255, 240, 240);">"Ubuntu 20.04.4 LTS"</span>
<span class="nv" style="color: rgb(153, 102, 51);">VERSION_ID</span><span class="o">=</span><span class="s2" style="background-color: rgb(255, 240, 240);">"20.04"</span>
<span class="nv" style="color: rgb(153, 102, 51);">HOME_URL</span><span class="o">=</span><span class="s2" style="background-color: rgb(255, 240, 240);">"https://www.ubuntu.com/"</span>
<span class="nv" style="color: rgb(153, 102, 51);">SUPPORT_URL</span><span class="o">=</span><span class="s2" style="background-color: rgb(255, 240, 240);">"https://help.ubuntu.com/"</span>
<span class="nv" style="color: rgb(153, 102, 51);">BUG_REPORT_URL</span><span class="o">=</span><span class="s2" style="background-color: rgb(255, 240, 240);">"https://bugs.launchpad.net/ubuntu/"</span>
<span class="nv" style="color: rgb(153, 102, 51);">PRIVACY_POLICY_URL</span><span class="o">=</span><span class="s2" style="background-color: rgb(255, 240, 240);">"https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"</span>
<span class="nv" style="color: rgb(153, 102, 51);">VERSION_CODENAME</span><span class="o">=</span>focal
<span class="nv" style="color: rgb(153, 102, 51);">UBUNTU_CODENAME</span><span class="o">=</span>focal
</code></pre><p style="color: rgb(51, 51, 51); font-family: Verdana, sans-serif; font-size: 12px;"></p><p style="color: rgb(51, 51, 51); font-family: Verdana, sans-serif; font-size: 12px;">At the same time, I tried the method of source code, such as the source code installation method introduced in <a class="external" href="https://lttng.org/docs/v2.13/" style="color: rgb(17, 102, 153); text-decoration-line: none; overflow-wrap: break-word; background-position: 0% 60%; background-repeat: no-repeat; padding-left: 12px; background-image: url("../images/external.png");">https://lttng.org/docs/v2.13/</a>.<br></p><pre style="color: rgb(51, 51, 51); font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; font-size: 12px; margin: 1em 1em 1em 1.6em; padding: 8px; background-color: rgb(250, 250, 250); border: 1px solid rgb(226, 226, 226); border-radius: 3px; width: auto; overflow: auto hidden;"># dpkg -l | grep -e libuuid -e popt -e userspace -e libxml2
ii can-utils 2018.02.0-1ubuntu1 arm64 SocketCAN userspace utilities and tools
ii dmsetup 2:1.02.167-1ubuntu1 arm64 Linux Kernel Device Mapper userspace library
ii gvfs:arm64 1.44.1-1ubuntu1 arm64 userspace virtual filesystem - GIO module
ii gvfs-backends 1.44.1-1ubuntu1 arm64 userspace virtual filesystem - backends
ii gvfs-bin 1.44.1-1ubuntu1 arm64 userspace virtual filesystem - deprecated command-line tools
ii gvfs-common 1.44.1-1ubuntu1 all userspace virtual filesystem - common data files
ii gvfs-daemons 1.44.1-1ubuntu1 arm64 userspace virtual filesystem - servers
ii gvfs-fuse 1.44.1-1ubuntu1 arm64 userspace virtual filesystem - fuse server
ii gvfs-libs:arm64 1.44.1-1ubuntu1 arm64 userspace virtual filesystem - private libraries
ii libdevmapper1.02.1:arm64 2:1.02.167-1ubuntu1 arm64 Linux Kernel Device Mapper userspace library
ii libi2c0:arm64 4.1-2build2 arm64 userspace I2C programming library
ii libibverbs1:arm64 28.0-1ubuntu1 arm64 Library for direct userspace use of RDMA (InfiniBand/iWARP)
ii libnftnl11:arm64 1.1.5-1 arm64 Netfilter nftables userspace API library
ii libpopt-dev:arm64 1.16-14 arm64 lib for parsing cmdline parameters - development files
ii libpopt0:arm64 1.16-14 arm64 lib for parsing cmdline parameters
ii liburcu-dev:arm64 0.12.2-1~ubuntu20.04.2 arm64 userspace RCU (read-copy-update) library - development files
ii liburcu6:arm64 0.12.2-1~ubuntu20.04.2 arm64 userspace RCU (read-copy-update) library
ii libusb-1.0-0:arm64 2:1.0.23-2build1 arm64 userspace USB programming library
ii libusb-1.0-0-dev:arm64 2:1.0.23-2build1 arm64 userspace USB programming library development files
ii libuuid1:arm64 2.34-0.1ubuntu9.3 arm64 Universally Unique ID library
ii libxml2:arm64 2.9.10+dfsg-5ubuntu0.20.04.1 arm64 GNOME XML library
ii libxml2-dev:arm64 2.9.10+dfsg-5ubuntu0.20.04.1 arm64 Development files for the GNOME XML library
ii libxml2-utils 2.9.10+dfsg-5ubuntu0.20.04.3 arm64 XML utilities
ii network-manager 1.22.10-1ubuntu2.3 arm64 network management framework (daemon and userspace tools)
ii nvidia-l4t-optee 34.1.0-20220406120854 arm64 OP-TEE userspace daemons, test programs and libraries
ii python3-lxml:arm64 4.5.0-1ubuntu0.5 arm64 pythonic binding for the libxml2 and libxslt libraries
</pre><p style="color: rgb(51, 51, 51); font-family: Verdana, sans-serif; font-size: 12px;"></p><pre style="color: rgb(51, 51, 51); font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; font-size: 12px; margin: 1em 1em 1em 1.6em; padding: 8px; background-color: rgb(250, 250, 250); border: 1px solid rgb(226, 226, 226); border-radius: 3px; width: auto; overflow: auto hidden;">sudo ln -snf /usr/src/linux-headers-5.10.65-tegra-ubuntu20.04_aarch64/kernel-5.10 /lib/modules/5.10.65-tegra/build
</pre><pre style="margin: 1em 1em 1em 1.6em; padding: 8px; background-color: rgb(250, 250, 250); border: 1px solid rgb(226, 226, 226); border-radius: 3px; width: auto; overflow: auto hidden;"><span style="color: rgb(51, 51, 51); font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; font-size: 12px;"># orin-d@orind-d:~/tmp/lttng-modules-2.13.5$ make
/home/orin-d/tmp/lttng-modules-2.13.5/src/wrapper/kallsyms.c:20:3: error: #error "LTTng-modules requires CONFIG_KPROBES on kernels >= 5.7.0"
20 | # error "LTTng-modules requires CONFIG_KPROBES on kernels >= 5.7.0"
| ^~~~~
make[2]: *** [scripts/Makefile.build:281: /home/orin-d/tmp/lttng-modules-2.13.5/src/wrapper/kallsyms.o] Error 1
make[1]: *** [Makefile:1852: /home/orin-d/tmp/lttng-modules-2.13.5/src] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.10.65-tegra-ubuntu20.04_aarch64/kernel-5.10'
make: *** [Makefile:31: modules] Error 2</span><font color="#333333" face="Consolas, Menlo, Liberation Mono, Courier, monospace"><span style="font-size: 12px;">
</span></font></pre><pre style="margin: 1em 1em 1em 1.6em; padding: 8px; background-color: rgb(250, 250, 250); border: 1px solid rgb(226, 226, 226); border-radius: 3px; width: auto; overflow: auto hidden;"><font color="#333333" face="Consolas, Menlo, Liberation Mono, Courier, monospace"><span style="font-size: 12px;">Looking forward to your reply.</span></font></pre></div></div></div><div id="history" style="color: rgb(51, 51, 51); font-family: Verdana, sans-serif; font-size: 12px;"></div><div style="color: rgb(51, 51, 51); font-family: Verdana, sans-serif; font-size: 12px; clear: both;"></div><div class="contextual" style="float: right; white-space: nowrap; line-height: 1.4em; margin: 5px 0px; padding-left: 10px; font-size: 12px; color: rgb(51, 51, 51); font-family: Verdana, sans-serif;"><a class="icon icon-edit" href="https://bugs.lttng.org/issues/1358/edit" style="color: rgb(17, 102, 153); text-decoration-line: none; background-position: 0% 50%; background-repeat: no-repeat; padding-left: 20px; background-image: url("../images/edit.png"); padding-top: 2px; padding-bottom: 3px;">编辑</a> <a class="issue-1358-watcher icon icon-fav" data-remote="true" rel="nofollow" data-method="delete" href="https://bugs.lttng.org/watchers/watch?object_id=1358&object_type=issue" style="color: rgb(17, 102, 153); text-decoration-line: none; background-position: 0% 50%; background-repeat: no-repeat; padding-left: 20px; background-image: url("../images/fav.png"); padding-top: 2px; padding-bottom: 3px; margin-left: 5px;">取消关注</a> <span class="drdn" style="position: relative; margin-left: 5px;"><span class="drdn-trigger" style="box-sizing: border-box; overflow: hidden; text-overflow: ellipsis; cursor: pointer; user-select: none;"><span class="icon-only icon-actions" title="行为" style="background-position: 0% 50%; background-repeat: no-repeat; padding-left: 16px; display: inline-block; width: 0px; height: 16px; overflow: hidden; padding-top: 0px; padding-bottom: 0px; font-size: 8px; vertical-align: middle; background-image: url("../images/3_bullets.png");">行为</span></span></span></div><div style="color: rgb(51, 51, 51); font-family: Verdana, sans-serif; font-size: 12px; clear: both;"></div></div>