package/lttng-modules: bump to version 2.13.1

- Add a dependency on kernel >= 3.0:
  88eafb709a
- Add CONFIG_KPROBES to Config.in for kernel >= 5.7:
  a65765406b
- Update license files and their hash because SPDX v3.0 identifiers are
  used since
  b7cdc18250
- This bump will fix a build failure with kernel >= 5.6 thanks to at
  least:
  edfdcb685c

https://github.com/lttng/lttng-modules/blob/v2.13.1/ChangeLog

Fixes:
 - https://bugs.busybox.net/show_bug.cgi?id=14501

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2022-01-06 18:49:49 +01:00 committed by Thomas Petazzoni
parent c28b93248a
commit 48b77b25b7
3 changed files with 18 additions and 11 deletions

View File

@ -1,6 +1,7 @@
config BR2_PACKAGE_LTTNG_MODULES
bool "lttng-modules"
depends on BR2_LINUX_KERNEL
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
help
Linux kernel modules for the LTTng 2.x kernel tracing
infrastructure.
@ -8,7 +9,8 @@ config BR2_PACKAGE_LTTNG_MODULES
Make sure your target kernel has the following config
options enabled:
* CONFIG_MODULES: loadable module support
* CONFIG_MODULES: loadable module support (not strictly
required when built into the kernel)
* CONFIG_KALLSYMS: this is necessary until the few
required missing symbols are exported to GPL
modules from mainline
@ -17,6 +19,8 @@ config BR2_PACKAGE_LTTNG_MODULES
* CONFIG_TRACEPOINTS: kernel tracepoint instrumentation
(enabled as a side-effect of any of the
perf/ftrace/blktrace instrumentation features)
* CONFIG_KPROBES (5.7+): use kallsyms for kernel 5.7 and
newer.
The following kernel configuration options will
affect the features available from LTTng:
@ -29,9 +33,11 @@ config BR2_PACKAGE_LTTNG_MODULES
* CONFIG_KALLSYMS_ALL: state dump of mapping between block
device number and name
The packaged version is compatible with Linux 2.6.38 to 3.16.
http://lttng.org
comment "lttng-modules needs a Linux kernel to be built"
depends on !BR2_LINUX_KERNEL
comment "lttng-modules needs a toolchain w/ headers >= 3.0"
depends on BR2_LINUX_KERNEL
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0

View File

@ -1,8 +1,8 @@
# From https://lttng.org/files/lttng-modules/lttng-modules-2.11.0.tar.bz2.sha256
sha256 98af92d8c2e00f4eb63bc637a6967103cf6997434493f36e7a535a491e4fad5f lttng-modules-2.11.0.tar.bz2
# From https://lttng.org/files/lttng-modules/lttng-modules-2.13.1.tar.bz2.sha256
sha256 a7c86d91c9bbe66d27f025aa04b8cfc6d7785ed2fc7ef774930800ee44d7f343 lttng-modules-2.13.1.tar.bz2
# Hash for license files
sha256 36b6d3fa47916943fd5fec313c584784946047ec1337a78b440e5992cb595f89 lgpl-2.1.txt
sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 gpl-2.0.txt
sha256 2f801b7c2494850c3d91da820eb230502dc0192c9d0db024db37ec08d0be1434 mit-license.txt
sha256 6334b377a5bd56b56a1e8a495830f2d28ed1b5cbedc7493aec9fba979efcdfe1 LICENSE
sha256 d72921266bc8452a8789f8a04a82755373990d00b7e0b0f1a8edb8f854e94d1c LICENSES/LGPL-2.1
sha256 6841c85b94f9dab319356e3aaf9e969fcedad51d3aaadf665bf86f34f4186b62 LICENSES/GPL-2.0
sha256 323c587d0ccf10e376f8bf9a7f31fb4ca6078105194b42e0b1e0ee2bc9bde71f LICENSES/MIT
sha256 0133d3c505f176845d7a8b4dcfe006ac615832c43c41e76fe3b365191bafca92 LICENSE

View File

@ -4,11 +4,12 @@
#
################################################################################
LTTNG_MODULES_VERSION = 2.11.0
LTTNG_MODULES_VERSION = 2.13.1
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/*)
LTTNG_MODULES_LICENSE_FILES = lgpl-2.1.txt gpl-2.0.txt mit-license.txt LICENSE
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
$(eval $(kernel-module))