Diff lttng-modules-2.13.7 with a lttng-modules-2.13.10

/usr/portage/dev-util/lttng-modules/lttng-modules-2.13.10.ebuild 2023-10-09 14:52:30.980368388 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
inherit linux-mod
6
# Please bump the following packages together:
7
# dev-util/lttng-modules
8
# dev-util/lttng-tools
9
# dev-util/lttng-ust
10

  
11
inherit linux-mod-r1
7 12

  
8 13
MY_P="${P/_rc/-rc}"
9 14
MY_SLOT="$(ver_cut 1-2)"
......
17 22
KEYWORDS="~amd64 ~x86"
18 23
IUSE=""
19 24

  
20
BUILD_TARGETS="default"
21

  
22 25
CONFIG_CHECK="MODULES KALLSYMS HIGH_RES_TIMERS TRACEPOINTS
23 26
	~HAVE_SYSCALL_TRACEPOINTS ~PERF_EVENTS ~EVENT_TRACING ~KPROBES KRETPROBES"
24 27

  
25
MODULE_NAMES="true"
26

  
27 28
S="${WORKDIR}/${MY_P}"
28 29

  
29 30
pkg_pretend() {
......
34 35
}
35 36

  
36 37
src_compile() {
37
	BUILD_FIXES="KERNELDIR=$KERNEL_DIR" linux-mod_src_compile
38
}
39 38

  
40
src_install() {
41
	for i in $(find "${S}" -name "*.ko" -print); do
42
		local val=${i##${S}/}
43
		local modules+="${val%%.ko}(misc:) "
44
	done
45
	MODULE_NAMES=${modules}
39
	local modlist=( lttng-statedump=misc:"${S}":src
40
		lttng-statedump=misc:"${S}":src
41
		lttng-clock=misc:"${S}":src
42
		lttng-wrapper=misc:"${S}":src
43
		lttng-counter-client-percpu-64-modular=misc:"${S}":src
44
		lttng-ring-buffer-metadata-mmap-client=misc:"${S}":src
45
		lttng-ring-buffer-event-notifier-client=misc:"${S}":src
46
		lttng-counter-client-percpu-32-modular=misc:"${S}":src
47
		lttng-ring-buffer-client-mmap-overwrite=misc:"${S}":src
48
		lttng-ring-buffer-client-mmap-discard=misc:"${S}":src
49
		lttng-ring-buffer-metadata-client=misc:"${S}":src
50
		lttng-ring-buffer-client-discard=misc:"${S}":src
51
		lttng-clock-plugin-test=misc:"${S}":src/tests
52
		lttng-ring-buffer-client-overwrite=misc:"${S}":src
53
		lttng-tracer=misc:"${S}":src
54
		lttng-kprobes=misc:"${S}":src/probes
55
		lttng-test=misc:"${S}":src/tests
56
		lttng-uprobes=misc:"${S}":src/probes
57
		lttng-kretprobes=misc:"${S}":src/probes
58
		lttng-probe-workqueue=misc:"${S}":src/probes
59
		lttng-probe-regmap=misc:"${S}":src/probes
60
		lttng-probe-writeback=misc:"${S}":src/probes
61
		lttng-probe-printk=misc:"${S}":src/probes
62
		lttng-probe-rcu=misc:"${S}":src/probes
63
		lttng-probe-compaction=misc:"${S}":src/probes
64
		lttng-probe-ext4=misc:"${S}":src/probes
65
		lttng-probe-udp=misc:"${S}":src/probes
66
		lttng-probe-vmscan=misc:"${S}":src/probes
67
		lttng-probe-regulator=misc:"${S}":src/probes
68
		lttng-probe-jbd2=misc:"${S}":src/probes
69
		lttng-probe-scsi=misc:"${S}":src/probes
70
		lttng-probe-sock=misc:"${S}":src/probes
71
		lttng-probe-gpio=misc:"${S}":src/probes
72
		lttng-probe-skb=misc:"${S}":src/probes
73
		lttng-probe-napi=misc:"${S}":src/probes
74
		lttng-probe-block=misc:"${S}":src/probes
75
		lttng-probe-net=misc:"${S}":src/probes
76
		lttng-probe-x86-exceptions=misc:"${S}":src/probes
77
		lttng-probe-x86-irq-vectors=misc:"${S}":src/probes
78
		lttng-probe-signal=misc:"${S}":src/probes
79
		lttng-probe-kvm-x86-mmu=misc:"${S}":src/probes
80
		lttng-probe-kvm-x86=misc:"${S}":src/probes
81
		lttng-probe-kvm=misc:"${S}":src/probes
82
		lttng-probe-i2c=misc:"${S}":src/probes
83
		lttng-probe-power=misc:"${S}":src/probes
84
		lttng-probe-statedump=misc:"${S}":src/probes
85
		lttng-probe-module=misc:"${S}":src/probes
86
		lttng-probe-kmem=misc:"${S}":src/probes
87
		lttng-probe-timer=misc:"${S}":src/probes
88
		lttng-probe-irq=misc:"${S}":src/probes
89
		lttng-counter=misc:"${S}":src/lib
90
		lttng-probe-sched=misc:"${S}":src/probes
91
		lttng-lib-ring-buffer=misc:"${S}":src/lib)
92

  
93
	local modargs=( KERNELDIR="${KV_OUT_DIR}" )
46 94

  
47
	linux-mod_src_install
48
	dodoc ChangeLog README.md
95
	linux-mod-r1_src_compile
49 96
}
Thank you!