Skip to contentSkip to conversation

lttng-tools: Disable on qemuriscv32

PATCH In review He Zhe 2 participants 3 messages Sep 26, 2022 – Sep 27, 2022

lore
Share & tools
lore

He Zhe

author
#0 lore raw

PATCH 1/1 lttng-tools: Disable on qemuriscv32

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

---
 meta/recipes-kernel/lttng/lttng-platforms.inc | 4 ++++
 1 file changed, 4 insertions(+)
meta/recipes-kernel/lttng/lttng-platforms.inc +4 -0
index 933c65d85d..98b13b194c 100644
@@ -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"
Signature · 1 line
2.25.1
#1 lore raw
Quoted 18 lines · He Zhe

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

---
  meta/recipes-kernel/lttng/lttng-platforms.inc | 4 ++++
  1 file changed, 4 insertions(+)
meta/recipes-kernel/lttng/lttng-platforms.inc +0 -0
index 933c65d85d..98b13b194c 100644

meta/recipes-kernel/lttng/lttng-platforms.inc LTTNGUST:arc = "" · line 21

Quoted 7 lines
meta/recipes-kernel/lttng/lttng-platforms.inc +4 -0
@@ -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.

Quoted 10 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#171052): https://lists.openembedded.org/g/openembedded-core/message/171052
Mute This Topic: https://lists.openembedded.org/mt/93922533/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author
#2 lore raw
Quoted 13 lines · Khem Raj
Quoted 12 lines · He Zhe

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

---
  meta/recipes-kernel/lttng/lttng-platforms.inc | 4 ++++

  1 file changed, 4 insertions(+)
Quoted 13 lines

meta/recipes-kernel/lttng/lttng-platforms.inc LTTNGUST:arc = "" · line 21

Quoted 11 lines
meta/recipes-kernel/lttng/lttng-platforms.inc +0 -0
index 933c65d85d..98b13b194c 100644
@@ -15,3 +15,7 @@ LTTNGUST:arc = ""

    COMPATIBLE_HOST:arc:pn-lttng-ust = "null"
  +# Whether the platform supports lttng-tools

meta/recipes-kernel/lttng/lttng-platforms.inc +3 -0
+# 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

Quoted 11 lines
Quoted 11 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#171052): https://lists.openembedded.org/g/openembedded-core/message/171052
Mute This Topic: https://lists.openembedded.org/mt/93922533/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-