- Update to version 2.13.11 to allow package inclusion into SLE-Micro 6.0: Changes (2.13.11): Fix: Include linux/sched/rt.h for kernels v3.9 to v3.14 Fix: Disable IBT around indirect function calls Inline implementation of task_prio() Fix: prio context NULL pointer exception Fix: MODULE_IMPORT_NS is introduced in kernel 5.4 Android: Import VFS namespace for android common kernel Fix: get_file_rcu is missing in kernels < 4.1 Fix: lookup_fd_rcu replaced by lookup_fdget_rcu in linux 6.7.0-rc1 Fix: mm, vmscan signatures changed in linux 6.7.0-rc1 Fix: phys_proc_id and cpu_core_id moved in linux 6.7.0-rc1 Fix build for RHEL 8.8 with linux 4.18.0-477.10.1+ Fix: bytecode validator: oops during validation of immediate string Fix: lttng-probe-kvm-x86-mmu build with linux 6.6 Fix: built-in lttng with kernel >= v6.1 Fix: ubuntu kinetic kernel range for jdb2 Changes (2.13.10): Fix: sessiond: incorrect use of exclusions array leads to crash Tests fix: test_callstack: output of addr2line incorrectly parsed Fix: sessiond: silent kernel notifier registration error Fix: sessiond: size-based notification occasionally not triggered Fix: adding a user space probe fails on thumb functions Fix: Tests that assume CPU 0 is present Fix: Wrong assumption about possible CPUs Tests: fix: parse-callback reports missing addr2line Fix: lttng remove-trigger -h fails Tests: snapshot tests complain that nothing is output Tests: Test snapshot maximum size correctly Tests: Add get_possible_cpus_count utility Fix: ini parser: truncation of value name Fix: truncated len in lttng_event_rule_user_tracepoint_serialize() Tests: remove leftover debug printing in test_add_trigger_cli - Drop patch lttng-modules-2.13.9-linux-6.3.patch (upstream) OBS-URL: https://build.opensuse.org/request/show/1146908 OBS-URL: https://build.opensuse.org/package/show/devel:tools:lttng/lttng-modules?expand=0&rev=71
76 lines
2.3 KiB
RPMSpec
76 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package lttng-modules
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: lttng-modules
|
|
Version: 2.13.11
|
|
Release: 0
|
|
Summary: Licensing information for package lttng-modules
|
|
License: GPL-2.0-only AND LGPL-2.1-only AND MIT
|
|
Group: System/Kernel
|
|
URL: https://lttng.org/
|
|
Source: https://lttng.org/files/lttng-modules/%{name}-%{version}.tar.bz2
|
|
Source1: https://lttng.org/files/lttng-modules/%{name}-%{version}.tar.bz2.asc
|
|
Source2: %{name}.keyring
|
|
Source3: %{name}-preamble
|
|
Source4: Module.supported
|
|
BuildRequires: %{kernel_module_package_buildreqs}
|
|
ExclusiveArch: %ix86 x86_64 armv7l aarch64 riscv64 ppc64 ppc64le
|
|
|
|
%description
|
|
This package provides licensing documentation for the lttng kmp packages.
|
|
|
|
%kernel_module_package -p %{name}-preamble -x ec2 xen xenpae vmi um
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
set -- *
|
|
mkdir source obj
|
|
|
|
for i in "$@"; do
|
|
case $i in
|
|
LICENSE|LICENSES|ChangeLog) ;;
|
|
*) mv $i source ;;
|
|
esac
|
|
done
|
|
|
|
%build
|
|
export EXTRA_CFLAGS='-DVERSION=\"%{version}\"'
|
|
for flavor in %{flavors_to_build}; do
|
|
rm -rf obj/$flavor
|
|
cp -r source obj/$flavor
|
|
cp %{SOURCE4} obj/$flavor
|
|
%make_build -C %{kernel_source $flavor} %{?linux_make_arch} modules \
|
|
M=$PWD/obj/$flavor CONFIG_LTTNG=m CONFIG_LTTNG_CLOCK_PLUGIN_TEST=m
|
|
done
|
|
|
|
%install
|
|
export INSTALL_MOD_PATH=%{buildroot}
|
|
export INSTALL_MOD_DIR=updates
|
|
export BRP_PESIGN_FILES="*.ko /lib/firmware"
|
|
for flavor in %{flavors_to_build}; do
|
|
make -C %{kernel_source $flavor} %{?linux_make_arch} modules_install \
|
|
M=$PWD/obj/$flavor CONFIG_LTTNG=m CONFIG_LTTNG_CLOCK_PLUGIN_TEST=m
|
|
done
|
|
|
|
%files
|
|
%license LICENSE LICENSES/
|
|
%doc ChangeLog
|
|
|
|
%changelog
|