Fix: ext4 ext4_da_write_pages instrumentation for kernels < 3.11.0
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 17 Apr 2015 16:35:55 +0000 (12:35 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 17 Apr 2015 16:35:55 +0000 (12:35 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/events/lttng-module/ext4.h

index 41c89fd3bb65cc6c5887c04e76b0e06f0c9cac81..0a17becefb84f9304ef2eef533d07d0daf176cdb 100644 (file)
@@ -277,7 +277,7 @@ LTTNG_TRACEPOINT_EVENT(ext4_da_write_pages,
                ctf_integer(int, io_done, mpd->io_done)
                ctf_integer(int, pages_written, mpd->pages_written)
 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,39))
-               ctf_integer(int, sync_mode, mpd->sync_mode)
+               ctf_integer(int, sync_mode, mpd->wbc->sync_mode)
 #endif
        )
 )
This page took 0.026727 seconds and 4 git commands to generate.