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)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 6 Jun 2019 21:19:12 +0000 (17:19 -0400)
commit7fe92073394104c8ffe575b1b05ee4fe1df356ea
tree81d108ca49efd2384b2907e7774165f06cec02f9
parent83a5656aa74b692254e2580b03786dddb6ce092e
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.024183 seconds and 4 git commands to generate.