From 1d28ffcef8d032e238ea18c49de879460166c463 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Wed, 15 Dec 2021 10:33:01 -0500 Subject: [PATCH] jjb: lttng-modules: disable objtool on kernel builds Signed-off-by: Michael Jeanson Change-Id: I21b9823fd4f53eca1dad54cc0a0939c898ad0001 --- scripts/lttng-modules/param-build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/lttng-modules/param-build.sh b/scripts/lttng-modules/param-build.sh index 66a4436..3a71365 100644 --- a/scripts/lttng-modules/param-build.sh +++ b/scripts/lttng-modules/param-build.sh @@ -280,6 +280,9 @@ build_linux_kernel() { scripts/config --enable CONFIG_EVENT_TRACING scripts/config --enable CONFIG_KRETPROBES + # FIXME: disable objtool on vmlinux, it OOMs on allyesconfig + sed -i 's/objtool_link vmlinux.o//' scripts/link-vmlinux.sh || true + # Debug #cat .config -- 2.34.1