Fix: ext4 instrumentation: flags parameter did not exist prior to 3.11
[lttng-modules.git] / instrumentation / events / lttng-module / ext4.h
index 41c89fd3bb65cc6c5887c04e76b0e06f0c9cac81..692ca3eeded60703a0f7f57491754dca4886cf8f 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
        )
 )
@@ -1229,7 +1229,6 @@ LTTNG_TRACEPOINT_EVENT_CLASS(ext4__map_blocks_exit,
        TP_FIELDS(
                ctf_integer(dev_t, dev, inode->i_sb->s_dev)
                ctf_integer(ino_t, ino, inode->i_ino)
-               ctf_integer(unsigned int, flags, flags)
                ctf_integer(ext4_fsblk_t, pblk, map->m_pblk)
                ctf_integer(ext4_lblk_t, lblk, map->m_lblk)
                ctf_integer(unsigned int, len, map->m_len)
This page took 0.026883 seconds and 4 git commands to generate.