ctf: only reset state of `bt_msg_iter` on _reset()
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 12 Jun 2019 17:28:32 +0000 (13:28 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 16 Aug 2019 15:35:50 +0000 (11:35 -0400)
commit7cb7e3f5103d5d3084bc3b78550af34cced8a222
treedb5d01ad6280ad63d13b0abc3645548cfb1dd7c4
parentf640cb559a0844a2781a22851b36183c31626ec4
ctf: only reset state of `bt_msg_iter` on _reset()

The `bt_msg_iter` configuration should be left untouched by the reset.

The `bt_msg_iter_reset()` is used at the creation of the `bt_msg_iter`
(`bt_msg_iter_create()`) and when seeking with it
(`bt_msg_iter_seek()`). It's also used by `src.ctf.fs` message iterators
when seeking is done.

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