Skip to contentSkip to conversation

package/lttng-modules: needs CONFIG_KPROBES

PATCH In review Fabrice Fontaine 2 participants 3 messages Jun 6, 2022 – Jun 9, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/lttng-modules: needs CONFIG_KPROBES

Fix the following build failure:

/nvmedata/autobuild/instance-18/output-1/build/lttng-modules-2.13.1/./src/wrapper/kallsyms.c:20:3: error: #error "LTTng-modules requires CONFIG_KPROBES on kernels >= 5.7.0"
20 | # error "LTTng-modules requires CONFIG_KPROBES on kernels >= 5.7.0"

      |   ^~~~~

Fixes:
- http://autobuild.buildroot.org/results/a733056d59f15573698c191562afced3f7a331ee

---
 package/lttng-modules/lttng-modules.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/lttng-modules/lttng-modules.mk +4 -0
index 4c1c50d0a0..d527bc19ef 100644
@@ -12,5 +12,9 @@ LTTNG_MODULES_LICENSE_FILES = \
 	LICENSES/LGPL-2.1 LICENSES/GPL-2.0 LICENSES/MIT LICENSE
 LTTNG_MODULES_MODULE_MAKE_OPTS = CONFIG_LTTNG=m CONFIG_LTTNG_CLOCK_PLUGIN_TEST=m
 
+define LTTNG_MODULES_LINUX_CONFIG_FIXUPS
+	$(call KCONFIG_ENABLE_OPT,CONFIG_KPROBES)
+endef
+
 $(eval $(kernel-module))
 $(eval $(generic-package))
Signature · 6 lines
2.35.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

Fix the following build failure:
/nvmedata/autobuild/instance-18/output-1/build/lttng-modules-2.13.1/./src/wrapper/kallsyms.c:20:3: error: #error "LTTng-modules requires CONFIG_KPROBES on kernels >= 5.7.0"
20 | # error "LTTng-modules requires CONFIG_KPROBES on kernels >= 5.7.0"

      |   ^~~~~

Fixes:
- http://autobuild.buildroot.org/results/a733056d59f15573698c191562afced3f7a331ee

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Fabrice Fontaine
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

Fix the following build failure:
/nvmedata/autobuild/instance-18/output-1/build/lttng-modules-2.13.1/./src/wrapper/kallsyms.c:20:3: error: #error "LTTng-modules requires CONFIG_KPROBES on kernels >= 5.7.0"
20 | # error "LTTng-modules requires CONFIG_KPROBES on kernels >= 5.7.0"

      |   ^~~~~

Fixes:
- http://autobuild.buildroot.org/results/a733056d59f15573698c191562afced3f7a331ee

Committed to 2022.02.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot