src.ctf.fs: compute stream range using entire file info group
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Tue, 30 Apr 2019 23:01:17 +0000 (19:01 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 3 May 2019 22:19:40 +0000 (18:19 -0400)
commit1924bed7bc5faaae152e27448dd9a0d97596a296
treec070ed2f1c49f2c80b6f331b9432f384e40c2552
parentbb93d641468f118734fbaa205a9a231a85bad60c
src.ctf.fs: compute stream range using entire file info group

Given that index entries are sorted within their file info structure and
that file info structures are sorted by time within the file info group,
we can simply compute the range of the stream by using the absolute
first index entry and the absolute last index entry of the entire file
info group.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Change-Id: I5b13451d72a4b1aeb9f31140ebfb025e2d712d7e
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1128
Tested-by: jenkins
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
plugins/ctf/fs-src/query.c
This page took 0.024128 seconds and 4 git commands to generate.