Fix: correct typo in kernel version number
[lttng-modules.git] / instrumentation / events / lttng-module / block.h
index 5ea557d9a9b722ff96e893d3be440e65dfda612c..1cd24d64a3ad023438757081c9340eefa1d57d54 100644 (file)
@@ -221,7 +221,10 @@ DEFINE_EVENT(block_rq_with_error, block_rq_requeue,
        TP_ARGS(q, rq)
 )
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,15,0)      \
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,14,5)      \
+       || LTTNG_KERNEL_RANGE(3,12,21, 3,13,0)          \
+       || LTTNG_KERNEL_RANGE(3,10,41, 3,11,0)          \
+       || LTTNG_KERNEL_RANGE(3,4,91, 3,5,0)            \
        || LTTNG_KERNEL_RANGE(3,2,58, 3,3,0))
 
 /**
@@ -558,8 +561,8 @@ TRACE_EVENT(block_bio_queue,
                __field( dev_t,         dev                     )
                __field( sector_t,      sector                  )
                __field( unsigned int,  nr_sector               )
-               __array( char,          rwbs,   RWBS_LEN        )
-               __array( char,          comm,   TASK_COMM_LEN   )
+               __field( unsigned int,  rwbs                    )
+               __array_text( char,             comm,   TASK_COMM_LEN   )
        ),
 
        TP_fast_assign(
This page took 0.024137 seconds and 4 git commands to generate.