Skip to contentSkip to conversation

layer.conf: add bpftrace to NON_MULTILIB_RECIPES

PATCH New [email protected] 1 participant 1 message Sep 24, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 layer.conf: add bpftrace to NON_MULTILIB_RECIPES

From: Sunil Dora <[email protected]>

bpftrace need line up with kernel architecture type, so add it to NON_MULTILIB_RECIPES.

bpftrace must be built with the same architecture (32-bit/64-bit) as the kernel to ensure compatibility when tracing kernel functions and using eBPF features.

(cherry-picked from f8498f26991fbd8ea996dcf7c63d1c79e9c034a7 in master )

---
 meta-oe/conf/layer.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/conf/layer.conf +1 -1
index 2f4b9c4027..98d32c2fbf 100644
@@ -119,7 +119,7 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
 
 DEFAULT_TEST_SUITES:pn-meta-oe-ptest-image = " ${PTESTTESTSUITE}"
 
-NON_MULTILIB_RECIPES:append = " crash pahole libbpf"
+NON_MULTILIB_RECIPES:append = " crash pahole libbpf bpftrace"
 
 NON_MULTILIB_RECIPES:remove:x86 = "libbpf"
 NON_MULTILIB_RECIPES:remove:x86-64 = "libbpf"
Signature · 1 line
2.49.0