lttng-tools: not rrecommend on lttng-modules
PATCH 1/1 lttng-tools: not rrecommend on lttng-modules
From: Kai Kang <[email protected]>
As in the lttng manual [1]:
Most distributions mark the LTTng-modules and LTTng-UST packages as optional when installing LTTng-tools (which is always required). In the following sections, we always provide the steps to install all three, but note that:
* You only need to install LTTng-modules if you intend to use the Linux kernel LTTng tracer.
* You only need to install LTTng-UST if you intend to use the user space LTTng tracer.
there should be no force dependency between lttng-tools and lttng-modules. When set lttng-modules in RRECOMMENDS, it always forces to build lttng-modules whether it is required or not.
Compare to rpm spec [2] and debian conf [3], there are no any dependency between them too.
So remove the RRECOMMENDS setting.
[1]: https://lttng.org/docs/v2.14/#doc-installing-lttng
[2]: https://rpmfind.net/linux/RPM/fedora/updates/testing/43/aarch64/Packages/l/lttng-tools-2.14.0-4.fc43.aarch64.html
[3]: https://packages.debian.org/trixie/lttng-tools
--- meta/recipes-kernel/lttng/lttng-tools_2.14.1.bb | 1 - 1 file changed, 1 deletion(-)
meta/recipes-kernel/lttng/lttng-tools_2.14.1.bb +0 -1
@@ -14,7 +14,6 @@ include lttng-platforms.inc DEPENDS = "liburcu popt libxml2 util-linux bison-native babeltrace2" RDEPENDS:${PN} = "libgcc" -RRECOMMENDS:${PN} += "${LTTNGMODULES}" RDEPENDS:${PN}-ptest += "make perl bash gawk procps perl-module-overloading coreutils util-linux kmod ${LTTNGMODULES} sed python3-core grep binutils python3-multiprocessing" RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-utils" RDEPENDS:${PN}-ptest:append:libc-musl = " musl-utils"
Signature · 1 line
2.34.1
Quoted 14 lines · Kai Kang via lists.openembedded.org
From: Kai Kang <[email protected]>
As in the lttng manual [1]:
Most distributions mark the LTTng-modules and LTTng-UST packages as optional when installing LTTng-tools (which is always required). In the following sections, we always provide the steps to install all three, but note that:
* You only need to install LTTng-modules if you intend to use the Linux kernel LTTng tracer.
* You only need to install LTTng-UST if you intend to use the user space LTTng tracer.
Quoted 8 lines
there should be no force dependency between lttng-tools and lttng-modules. When set lttng-modules in RRECOMMENDS, it always forces to build lttng-modules whether it is required or not.
Compare to rpm spec [2] and debian conf [3], there are no any dependency between them too.
So remove the RRECOMMENDS setting.
Hi,
The commit had been staged in master-next for a while. But why removed eventually? Is there a plan to add it back?
Thanks,
Kai
Quoted 31 lines
[1]: https://lttng.org/docs/v2.14/#doc-installing-lttng
[2]: https://rpmfind.net/linux/RPM/fedora/updates/testing/43/aarch64/Packages/l/lttng-tools-2.14.0-4.fc43.aarch64.html
[3]: https://packages.debian.org/trixie/lttng-toolsSigned-off-by Kai Kang <[email protected]>--- meta/recipes-kernel/lttng/lttng-tools_2.14.1.bb | 1 - 1 file changed, 1 deletion(-)meta/recipes-kernel/lttng/lttng-tools_2.14.1.bb +0
-2@@ -14,7 +14,6 @@ include lttng-platforms.inc DEPENDS = "liburcu popt libxml2 util-linux bison-native babeltrace2" RDEPENDS:${PN} = "libgcc" -RRECOMMENDS:${PN} += "${LTTNGMODULES}" RDEPENDS:${PN}-ptest += "make perl bash gawk procps perl-module-overloading coreutils util-linux kmod ${LTTNGMODULES} sed python3-core grep binutils python3-multiprocessing" RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-utils" RDEPENDS:${PN}-ptest:append:libc-musl = " musl-utils" -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#232171): https://lists.openembedded.org/g/openembedded-core/message/232171
Mute This Topic: https://lists.openembedded.org/mt/118089750/3616933
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 2 lines
Kai Kang Wind River Linux
Quoted 23 lines · On Mon, 2026-03-02 at 14:40 +0800, [email protected] wrote:
From: Kai Kang <[email protected]>
As in the lttng manual [1]:
Most distributions mark the LTTng-modules and LTTng-UST packages as optional when installing LTTng-tools (which is always required). In the following sections, we always provide the steps to install all three, but note that:
* You only need to install LTTng-modules if you intend to use the Linux kernel LTTng tracer.
* You only need to install LTTng-UST if you intend to use the user space LTTng tracer.there should be no force dependency between lttng-tools and lttng-modules. When set lttng-modules in RRECOMMENDS, it always forces
to build lttng-modules whether it is required or not.Compare to rpm spec [2] and debian conf [3], there are no any dependency
between them too.
Quoted 8 lines
So remove the RRECOMMENDS setting.
[1]: https://lttng.org/docs/v2.14/#doc-installing-lttng
[2]:
https://rpmfind.net/linux/RPM/fedora/updates/testing/43/aarch64/Packages/l/lttng-tools-2.14.0-4.fc43.aarch64.html
[3]: https://packages.debian.org/trixie/lttng-toolsSigned-off-by Kai Kang <[email protected]>
The removal of the dependency probably makes sense but we need to add lttng-modules to packagegroup-core-tools-profile instead.
Cheers,
Richard
Quoted 26 lines · Richard Purdie
Quoted 25 lines · On Mon, 2026-03-02 at 14:40 +0800, [email protected] wrote:
From: Kai Kang <[email protected]>
As in the lttng manual [1]:
Most distributions mark the LTTng-modules and LTTng-UST packages as optional when installing LTTng-tools (which is always required). In the following sections, we always provide the steps to install all three, but note that:
* You only need to install LTTng-modules if you intend to use the Linux kernel LTTng tracer.
* You only need to install LTTng-UST if you intend to use the user space LTTng tracer.there should be no force dependency between lttng-tools and lttng-modules. When set lttng-modules in RRECOMMENDS, it always forces
to build lttng-modules whether it is required or not.Compare to rpm spec [2] and debian conf [3], there are no any dependency
between them too.So remove the RRECOMMENDS setting.
Quoted 8 lines
Quoted 6 lines
[1]: https://lttng.org/docs/v2.14/#doc-installing-lttng
[2]:
https://rpmfind.net/linux/RPM/fedora/updates/testing/43/aarch64/Packages/l/lttng-tools-2.14.0-4.fc43.aarch64.html
[3]: https://packages.debian.org/trixie/lttng-toolsSigned-off-by Kai Kang <[email protected]>The removal of the dependency probably makes sense but we need to add lttng-modules to packagegroup-core-tools-profile instead.
OK. v2 will be sent.
Thanks,
Kai
Quoted 5 lines
Cheers,
Richard
Signature · 2 lines
Kai Kang Wind River Linux