mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/lttng-modules: enable CONFIG_FTRACE in kernel configuration
The build of lttng-modules will fail if the kernel does not have CONFIG_TRACEPOINTS enabled. However, CONFIG_TRACEPOINTS is a prompt-less option, and the most generic option that does enable CONFIG_TRACEPOINTS is CONFIG_FTRACE. In addition, CONFIG_FTRACE will also enable CONFIG_STACKTRACE, which is needed on CPU architectures that don't provide the STACKWALK mechanism in the kernel, as is the case on ARM 32-bit for example. Therefore, let's enable CONFIG_FTRACE when building lttng-modules. Cc: Clément Léger <clement.leger@bootlin.com> Reported-by: Clément Léger <clement.leger@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
@@ -14,6 +14,7 @@ LTTNG_MODULES_MODULE_MAKE_OPTS = CONFIG_LTTNG=m CONFIG_LTTNG_CLOCK_PLUGIN_TEST=m
|
|||||||
|
|
||||||
define LTTNG_MODULES_LINUX_CONFIG_FIXUPS
|
define LTTNG_MODULES_LINUX_CONFIG_FIXUPS
|
||||||
$(call KCONFIG_ENABLE_OPT,CONFIG_KPROBES)
|
$(call KCONFIG_ENABLE_OPT,CONFIG_KPROBES)
|
||||||
|
$(call KCONFIG_ENABLE_OPT,CONFIG_FTRACE)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(kernel-module))
|
$(eval $(kernel-module))
|
||||||
|
|||||||
Reference in New Issue
Block a user