Fix: block instrumentation: < 3.14 don't have bi_iter
[lttng-modules.git] / instrumentation / events / lttng-module / block.h
index a75bb637de4b76ac8e0fb36477d4a7a372f7009e..8d267979bfa0d94ada28a3f76fb3820486a3e275 100644 (file)
@@ -810,7 +810,7 @@ TRACE_EVENT(block_split,
                tp_assign(dev, bio->bi_bdev->bd_dev)
                tp_assign(sector, bio->bi_sector)
                tp_assign(new_sector, new_sector)
-               blk_fill_rwbs(rwbs, bio->bi_rw, bio->bi_iter.bi_size)
+               blk_fill_rwbs(rwbs, bio->bi_rw, bio->bi_size)
                tp_memcpy(comm, current->comm, TASK_COMM_LEN)
 #endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,14,0)) */
        ),
This page took 0.023381 seconds and 4 git commands to generate.