Re: [OE-core] [PATCH] lttng-tools: Do not build for riscv64

Jonathan Rajotte-Julien
2020-08-26T14:00:48Z

Hi,

LTTng does not have a hard requirement on lttng-modules (on paper), when kernel modules
(tracer) is not present kernel tracing is disabled and only userspace tracing is
available.

Was there any report that lttng-ust (userspace tracing) is not working as
intended on riscv64?

Cheers

On Tue, Aug 25, 2020 at 10:41:01PM -0700, Khem Raj wrote:
> Since lttng-modules are not buildable, there is no point of building
> tools either
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> .../packagegroups/packagegroup-core-tools-profile.bb | 1 +
> meta/recipes-kernel/lttng/lttng-tools_2.12.2.bb | 3 +++
> 2 files changed, 4 insertions(+)
>
> diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
> index ca35af1ec3..608e406f83 100644
> --- a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
> +++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
> @@ -41,6 +41,7 @@ LTTNGUST_arc = ""
>
> LTTNGTOOLS = "lttng-tools"
> LTTNGTOOLS_arc = ""
> +LTTNGTOOLS_riscv64 = ""
>
> LTTNGMODULES = "lttng-modules"
> LTTNGMODULES_arc = ""
> diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.12.2.bb b/meta/recipes-kernel/lttng/lttng-tools_2.12.2.bb
> index e9c8e18e22..0614e86713 100644
> --- a/meta/recipes-kernel/lttng/lttng-tools_2.12.2.bb
> +++ b/meta/recipes-kernel/lttng/lttng-tools_2.12.2.bb
> @@ -162,3 +162,6 @@ do_install_ptest () {
> esac
> done
> }
> +
> +COMPATIBLE_HOST_riscv64 = "null"
> +
> --
> 2.28.0
>

>

--
Jonathan Rajotte-Julien
EfficiOS