initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
config BR2_PACKAGE_LTTNG_MODULES
bool "lttng-modules"
depends on BR2_LINUX_KERNEL
help
Linux kernel modules for the LTTng 2.x kernel tracing
infrastructure.
Make sure your target kernel has the following config
options enabled:
* CONFIG_MODULES: loadable module support
* CONFIG_KALLSYMS: this is necessary until the few
required missing symbols are exported to GPL
modules from mainline
* CONFIG_HIGH_RES_TIMERS: needed for LTTng 2.x
clock source
* CONFIG_TRACEPOINTS: kernel tracepoint instrumentation
(enabled as a side-effect of any of the
perf/ftrace/blktrace instrumentation features)
The following kernel configuration options will
affect the features available from LTTng:
* CONFIG_HAVE_SYSCALL_TRACEPOINTS: system call tracing
* CONFIG_PERF_EVENTS: performance counters
* CONFIG_EVENT_TRACING: needed to allow block layer tracing
* CONFIG_KPROBES: dynamic probes
* CONFIG_KRETPROBES: dynamic function entry/return probes
* 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
+8
View File
@@ -0,0 +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
# Hash for license files
sha256 36b6d3fa47916943fd5fec313c584784946047ec1337a78b440e5992cb595f89 lgpl-2.1.txt
sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 gpl-2.0.txt
sha256 2f801b7c2494850c3d91da820eb230502dc0192c9d0db024db37ec08d0be1434 mit-license.txt
sha256 6334b377a5bd56b56a1e8a495830f2d28ed1b5cbedc7493aec9fba979efcdfe1 LICENSE
+15
View File
@@ -0,0 +1,15 @@
################################################################################
#
# lttng-modules
#
################################################################################
LTTNG_MODULES_VERSION = 2.11.0
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_MODULE_MAKE_OPTS = CONFIG_LTTNG=m CONFIG_LTTNG_CLOCK_PLUGIN_TEST=m
$(eval $(kernel-module))
$(eval $(generic-package))