Fix: add mmap_base_offset to ctf_stream_pos
authorJulien Desfossez <jdesfossez@efficios.com>
Wed, 15 Aug 2012 21:32:01 +0000 (17:32 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 15 Aug 2012 21:32:01 +0000 (17:32 -0400)
commit474150688a81e2bc487aaa9932af6a0585e5fb79
treed0ff2293cb729aea8211f5bd8a270b475ab0103d
parentf7bbd50246fde81a4ef90fa6bd78e441fccdbb40
Fix: add mmap_base_offset to ctf_stream_pos

When dealing with mmap traces, the whole trace buffer is mmapped in
babeltrace and we may need to read it one subbuffer at a time.
In order to do that, we need to keep a reference of the base of the
current subbuffer inside the mmap region.

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