On 9/26/22 23:58, Khem Raj wrote: > On 9/26/22 1:08 AM, He Zhe wrote: >> lttng-tools requires SYS_ppoll and SYS_pselect6 which are not supported on >> riscv32. This has been confirmed by lttng-tools upstream. >> https://github.com/lttng/lttng-tools/pull/162 >> >> It's also turned off for riscv32 in meta-riscv. >> https://github.com/riscv/meta-riscv/blob/master/conf/layer.conf >> >> Signed-off-by: He Zhe <[email protected]> >> --- >> meta/recipes-kernel/lttng/lttng-platforms.inc | 4 ++++ >> 1 file changed, 4 insertions(+) >> >> diff --git a/meta/recipes-kernel/lttng/lttng-platforms.inc >> b/meta/recipes-kernel/lttng/lttng-platforms.inc >> index 933c65d85d..98b13b194c 100644 >> --- a/meta/recipes-kernel/lttng/lttng-platforms.inc >> +++ b/meta/recipes-kernel/lttng/lttng-platforms.inc >> @@ -15,3 +15,7 @@ LTTNGUST:arc = "" >> COMPATIBLE_HOST:arc:pn-lttng-ust = "null" >> +# Whether the platform supports lttng-tools >> +# lttng-tools requires SYS_ppoll and SYS_pselect6 which are not supported >> on riscv32. >> +# It's also turned off for riscv32 in meta-riscv. See >> https://github.com/riscv/meta-riscv/blob/master/conf/layer.conf >> +COMPATIBLE_HOST:qemuriscv32:pn-lttng-tools = "null" >> > > Its perhaps better to disable it rv32 wide not just form qemu.
OK, I'll send an update for that. Thanks, Zhe > >> >> >> >>
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#171083): https://lists.openembedded.org/g/openembedded-core/message/171083 Mute This Topic: https://lists.openembedded.org/mt/93922533/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
