lib: create_packet_message(): use pool to determine beginning or end msg
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 3 Jun 2019 15:28:34 +0000 (11:28 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 6 Jun 2019 21:19:12 +0000 (17:19 -0400)
commit83a5656aa74b692254e2580b03786dddb6ce092e
tree19953d4ea9a7a3b03669bd9fc07c297f2cc32b1f
parent7bb90dd0a5fb8b11ca6e4a7086c66623378fccea
lib: create_packet_message(): use pool to determine beginning or end msg

The `is_beginning` parameter in create_packet_message() is redundant as
the function can use `pool` and `msg_iter` to determine if it's creating
a packet beginning or end message.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I7f9b4183d004947895fba16b2e8396b8cb5be33a
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1363
Tested-by: jenkins
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
lib/graph/message/packet.c
This page took 0.025766 seconds and 4 git commands to generate.