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)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 2 May 2019 04:12:56 +0000 (00:12 -0400)
commitd2dbd3bc7836259ecd67ec380df47060ad5b6b26
treef30e76e223d1b57b808afcd8d6b8f448d009353e
parent375e797444f78ec6ff5b768c3434eb06dc1232af
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.023606 seconds and 5 git commands to generate.