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)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Thu, 2 May 2019 20:50:15 +0000 (20:50 +0000)
commitb1c001b601fdc72159ca29043bea6ea90f9ce591
treef30e76e223d1b57b808afcd8d6b8f448d009353e
parentab1bca6c7abb3bf64e9a16edc71c157cce847a38
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.024808 seconds and 4 git commands to generate.