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)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 4 Sep 2019 15:58:22 +0000 (11:58 -0400)
commitb25ff394d8f3c4f9febb55bcbd6c630e4a5a04f4
treea1a954aabbe1e2b46e33fc1dce41073a44d959f1
parentbcc4b99e2cf1ebf3d21478dd543e3895bec848b9
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.052693 seconds and 4 git commands to generate.