lib: reverse order of bt_self_component_port_input_message_iterator::auto_seek_msgs...
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 26 Jun 2019 13:49:57 +0000 (09:49 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 18 Jul 2019 15:53:33 +0000 (11:53 -0400)
commit50d55cca12eab034d4ad5a72db86485abd11672f
treee82c6a6c19618277a175701ae6e053f2e61cd570
parent1167318539b1e1e733de7fea4694094c140fcf52
lib: reverse order of bt_self_component_port_input_message_iterator::auto_seek_msgs queue

The messages in this queue are in reverse chronological order, meaning
we push the incoming messages to the head and later consume them from
the tail.

It would be more expected (although functionally equivalent) to do the
opposite, so that the messages are in chronological order when iterating
the list in forward.

So this patch just swaps the push/pop calls around.

Change-Id: Id4892e12e064376e919647c0d8bb838156ef0fc5
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1543
CI-Build: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/lib/graph/iterator.c
This page took 0.033713 seconds and 4 git commands to generate.