lib: create_packet_message(): make assertion message less convoluted
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 3 Jun 2019 15:33:49 +0000 (11:33 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 13 Jun 2019 21:24:21 +0000 (17:24 -0400)
commit3f511a6919ebf34bfb3568048cda0b1d7ce01ea8
treeaeac46631a4dc49edf7dc6cfbcfb6077170eb6d1
parentfb0977e1980a0e5d0606dd45d73f352240f8ec3d
lib: create_packet_message(): make assertion message less convoluted

Instead of having a message which enumerated the possible precondition
breaks, have it say that the stream class has an unexpected configuration,
and add the "packets have default beginning clock snapshot" and
"packets have default end clock snapshot" properties to the extended
logging of a stream class object in `lib-logging.c`.

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