diff options
Diffstat (limited to 'meta/recipes-kernel/lttng/lttng-modules/fix-jbd2-upper-bound-for-v5.10.163.patch')
-rw-r--r-- | meta/recipes-kernel/lttng/lttng-modules/fix-jbd2-upper-bound-for-v5.10.163.patch | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-modules/fix-jbd2-upper-bound-for-v5.10.163.patch b/meta/recipes-kernel/lttng/lttng-modules/fix-jbd2-upper-bound-for-v5.10.163.patch new file mode 100644 index 0000000000..bfc49294b0 --- /dev/null +++ b/meta/recipes-kernel/lttng/lttng-modules/fix-jbd2-upper-bound-for-v5.10.163.patch | |||
@@ -0,0 +1,52 @@ | |||
1 | From 4fd2615b87b3cac0fd5bdc5fc82db05f6fcfdecf Mon Sep 17 00:00:00 2001 | ||
2 | From: Michael Jeanson <mjeanson@efficios.com> | ||
3 | Date: Tue, 17 Jan 2023 12:16:04 -0500 | ||
4 | Subject: [PATCH] fix: jbd2 upper bound for v5.10.163 | ||
5 | |||
6 | Use the correct upper bound of 5,11,0. | ||
7 | |||
8 | Change-Id: I435b44b940c7346ed8c3ef0d445365ed156702d0 | ||
9 | Signed-off-by: Michael Jeanson <mjeanson@efficios.com> | ||
10 | Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | ||
11 | |||
12 | Upstream-Status: Backport | ||
13 | Signed-off-by: Armin Kuster <akuster@mvista.com> | ||
14 | |||
15 | --- | ||
16 | include/instrumentation/events/jbd2.h | 6 +++--- | ||
17 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
18 | |||
19 | diff --git a/include/instrumentation/events/jbd2.h b/include/instrumentation/events/jbd2.h | ||
20 | index f7993511..9b77ab92 100644 | ||
21 | --- a/include/instrumentation/events/jbd2.h | ||
22 | +++ b/include/instrumentation/events/jbd2.h | ||
23 | @@ -28,7 +28,7 @@ LTTNG_TRACEPOINT_EVENT(jbd2_checkpoint, | ||
24 | ) | ||
25 | |||
26 | #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(6,2,0) \ | ||
27 | - || LTTNG_KERNEL_RANGE(5,10,163, 6,0,0) \ | ||
28 | + || LTTNG_KERNEL_RANGE(5,10,163, 5,11,0) \ | ||
29 | || LTTNG_KERNEL_RANGE(5,15,87, 5,16,0) \ | ||
30 | || LTTNG_KERNEL_RANGE(6,0,18, 6,1,0) \ | ||
31 | || LTTNG_KERNEL_RANGE(6,1,4, 6,2,0)) | ||
32 | @@ -97,7 +97,7 @@ LTTNG_TRACEPOINT_EVENT_INSTANCE(jbd2_commit, jbd2_drop_transaction, | ||
33 | #endif | ||
34 | |||
35 | #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(6,2,0) \ | ||
36 | - || LTTNG_KERNEL_RANGE(5,10,163, 6,0,0) \ | ||
37 | + || LTTNG_KERNEL_RANGE(5,10,163, 5,11,0) \ | ||
38 | || LTTNG_KERNEL_RANGE(5,15,87, 5,16,0) \ | ||
39 | || LTTNG_KERNEL_RANGE(6,0,18, 6,1,0) \ | ||
40 | || LTTNG_KERNEL_RANGE(6,1,4, 6,2,0)) | ||
41 | @@ -140,7 +140,7 @@ LTTNG_TRACEPOINT_EVENT(jbd2_submit_inode_data, | ||
42 | ) | ||
43 | |||
44 | #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(6,2,0) \ | ||
45 | - || LTTNG_KERNEL_RANGE(5,10,163, 6,0,0) \ | ||
46 | + || LTTNG_KERNEL_RANGE(5,10,163, 5,11,0) \ | ||
47 | || LTTNG_KERNEL_RANGE(5,15,87, 5,16,0) \ | ||
48 | || LTTNG_KERNEL_RANGE(6,0,18, 6,1,0) \ | ||
49 | || LTTNG_KERNEL_RANGE(6,1,4, 6,2,0)) | ||
50 | -- | ||
51 | 2.35.4 | ||
52 | |||