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]
/
include
/
instrumentation
/
events
/
ext4.h
diff --git
a/include/instrumentation/events/ext4.h
b/include/instrumentation/events/ext4.h
index 88ab394c03020eea673122fefd63324dbe7378a4..5a61962b7c06e64afda8d25622a1e0a80b093ecc 100644
(file)
--- a/
include/instrumentation/events/ext4.h
+++ b/
include/instrumentation/events/ext4.h
@@
-460,7
+460,8
@@
LTTNG_TRACEPOINT_EVENT(ext4_mb_release_group_pa,
)
#endif
)
#endif
-#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.022933 seconds
and
4
git commands to generate.