Add a private pointer to the ctf_stream_pos
[babeltrace.git] / formats / ctf / ctf.c
index eef9f2abc8802cd19225b70e1b6f10f68363fef5..16a7ba0fd66e831b0691b17f75a812ace6964017 100644 (file)
@@ -2188,6 +2188,7 @@ void ctf_init_mmap_pos(struct ctf_stream_pos *pos,
        pos->flags = MAP_PRIVATE;
        pos->parent.rw_table = read_dispatch_table;
        pos->parent.event_cb = ctf_read_event;
+       pos->priv = mmap_info->priv;
 }
 
 static
This page took 0.023496 seconds and 4 git commands to generate.