Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/lttng-modules: enable CONFIG_FTRACE in kernel configuration
@ 2022-10-12 20:23 Thomas Petazzoni via buildroot
  2022-10-12 20:23 ` [Buildroot] [PATCH 2/2] package/lttng-modules: bump to 2.13.7 Thomas Petazzoni via buildroot
  2022-11-14 21:31 ` [Buildroot] [PATCH 1/2] package/lttng-modules: enable CONFIG_FTRACE in kernel configuration Thomas Petazzoni via buildroot
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-10-12 20:23 UTC (permalink / raw)
  To: buildroot; +Cc: Clément Léger, Philippe Proulx, Thomas Petazzoni

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>
---
 package/lttng-modules/lttng-modules.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/lttng-modules/lttng-modules.mk b/package/lttng-modules/lttng-modules.mk
index d527bc19ef..97cda53f08 100644
--- a/package/lttng-modules/lttng-modules.mk
+++ b/package/lttng-modules/lttng-modules.mk
@@ -14,6 +14,7 @@ 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)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_FTRACE)
 endef
 
 $(eval $(kernel-module))
-- 
2.37.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 2/2] package/lttng-modules: bump to 2.13.7
  2022-10-12 20:23 [Buildroot] [PATCH 1/2] package/lttng-modules: enable CONFIG_FTRACE in kernel configuration Thomas Petazzoni via buildroot
@ 2022-10-12 20:23 ` Thomas Petazzoni via buildroot
  2022-11-14 21:31 ` [Buildroot] [PATCH 1/2] package/lttng-modules: enable CONFIG_FTRACE in kernel configuration Thomas Petazzoni via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-10-12 20:23 UTC (permalink / raw)
  To: buildroot; +Cc: Clément Léger, Philippe Proulx, Thomas Petazzoni

This is the latest point release in the stable 2.13 branch (currently
the latest stable branch available).

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>
---
 package/lttng-modules/lttng-modules.hash | 4 ++--
 package/lttng-modules/lttng-modules.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/lttng-modules/lttng-modules.hash b/package/lttng-modules/lttng-modules.hash
index fb253c9bf6..e685cc3367 100644
--- a/package/lttng-modules/lttng-modules.hash
+++ b/package/lttng-modules/lttng-modules.hash
@@ -1,5 +1,5 @@
-# From https://lttng.org/files/lttng-modules/lttng-modules-2.13.1.tar.bz2.sha256
-sha256  a7c86d91c9bbe66d27f025aa04b8cfc6d7785ed2fc7ef774930800ee44d7f343  lttng-modules-2.13.1.tar.bz2
+# From https://lttng.org/files/lttng-modules/lttng-modules-2.13.7.tar.bz2.sha256
+sha256  5a99679df7903160cbde3918fee5af90ffafc90fc96ccdefaa57cf230492b234  lttng-modules-2.13.7.tar.bz2
 
 # Hash for license files
 sha256  d72921266bc8452a8789f8a04a82755373990d00b7e0b0f1a8edb8f854e94d1c  LICENSES/LGPL-2.1
diff --git a/package/lttng-modules/lttng-modules.mk b/package/lttng-modules/lttng-modules.mk
index 97cda53f08..416833f4ef 100644
--- a/package/lttng-modules/lttng-modules.mk
+++ b/package/lttng-modules/lttng-modules.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LTTNG_MODULES_VERSION = 2.13.1
+LTTNG_MODULES_VERSION = 2.13.7
 LTTNG_MODULES_SITE = http://lttng.org/files/lttng-modules
 LTTNG_MODULES_SOURCE = lttng-modules-$(LTTNG_MODULES_VERSION).tar.bz2
 LTTNG_MODULES_LICENSE = LGPL-2.1/GPL-2.0 (kernel modules), MIT (lib/bitfield.h, lib/prio_heap/*)
-- 
2.37.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/2] package/lttng-modules: enable CONFIG_FTRACE in kernel configuration
  2022-10-12 20:23 [Buildroot] [PATCH 1/2] package/lttng-modules: enable CONFIG_FTRACE in kernel configuration Thomas Petazzoni via buildroot
  2022-10-12 20:23 ` [Buildroot] [PATCH 2/2] package/lttng-modules: bump to 2.13.7 Thomas Petazzoni via buildroot
@ 2022-11-14 21:31 ` Thomas Petazzoni via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-11-14 21:31 UTC (permalink / raw)
  To: Thomas Petazzoni via buildroot
  Cc: Clément Léger, Philippe Proulx, Thomas Petazzoni

On Wed, 12 Oct 2022 22:23:16 +0200
Thomas Petazzoni via buildroot <buildroot@buildroot.org> wrote:

> 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>
> ---
>  package/lttng-modules/lttng-modules.mk | 1 +
>  1 file changed, 1 insertion(+)

Both applied to next!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-14 21:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-12 20:23 [Buildroot] [PATCH 1/2] package/lttng-modules: enable CONFIG_FTRACE in kernel configuration Thomas Petazzoni via buildroot
2022-10-12 20:23 ` [Buildroot] [PATCH 2/2] package/lttng-modules: bump to 2.13.7 Thomas Petazzoni via buildroot
2022-11-14 21:31 ` [Buildroot] [PATCH 1/2] package/lttng-modules: enable CONFIG_FTRACE in kernel configuration Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox