Fix data_offset when importing the indexes
authorJulien Desfossez <jdesfossez@efficios.com>
Fri, 29 Nov 2013 22:43:39 +0000 (17:43 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 30 Nov 2013 11:18:08 +0000 (12:18 +0100)
commite69dd258fa9c5f460a9071f4c6a9fcc98aaa010e
tree5343e456bf664ad102f59f390aa992daa6baa165
parent024e61817685a20caceb4e3ef3bdc019a7af6b6e
Fix data_offset when importing the indexes

When importing an index, we don't have the data_offset and we want to
mmap the tracefile only when needed, so we introduce a new function to
only compute this information when we are going to use a new packet.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
formats/ctf/ctf.c
This page took 0.023821 seconds and 4 git commands to generate.