projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: version ranges for ext4_discard_preallocations and writeback_queue_io
[lttng-modules.git]
/
instrumentation
/
events
/
lttng-module
/
ext4.h
diff --git
a/instrumentation/events/lttng-module/ext4.h
b/instrumentation/events/lttng-module/ext4.h
index 064419e978679378fa158f2fdc1cb6560fa395ff..f9a55e294ba8e2a03ebd5a0d4d45ee0c116211dd 100644
(file)
--- a/
instrumentation/events/lttng-module/ext4.h
+++ b/
instrumentation/events/lttng-module/ext4.h
@@
-547,7
+547,8
@@
LTTNG_TRACEPOINT_EVENT(ext4_mb_release_group_pa,
)
)
)
)
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,9,0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,9,0) || \
+ LTTNG_KERNEL_RANGE(5,8,6, 5,9,0))
LTTNG_TRACEPOINT_EVENT(ext4_discard_preallocations,
TP_PROTO(struct inode *inode, unsigned int len, unsigned int needed),
LTTNG_TRACEPOINT_EVENT(ext4_discard_preallocations,
TP_PROTO(struct inode *inode, unsigned int len, unsigned int needed),
This page took
0.023644 seconds
and
4
git commands to generate.