*/
BT_ASSERT_PRE((with_cs && packet_has_default_clock_snapshot) ||
(!with_cs && !packet_has_default_clock_snapshot),
- "Creating a packet message with a default clock snapshot, but without "
- "a default clock class, or without a default clock snapshot, "
- "but with a default clock class: ",
+ "Unexpected stream class configuration when creating "
+ "a packet beginning or end message: ",
"%![stream-]+s, %![sc-]+S, with-cs=%d, "
"cs-val=%" PRIu64,
stream, stream_class, with_cs, raw_value);
return;
}
- BUF_APPEND(", %sassigns-auto-ec-id=%d, %sassigns-auto-stream-id=%d",
+ BUF_APPEND(", %sassigns-auto-ec-id=%d, %sassigns-auto-stream-id=%d, "
+ "%spackets-have-default-beginning-cs=%d, "
+ "%spackets-have-default-end-cs=%d, ",
PRFIELD(stream_class->assigns_automatic_event_class_id),
- PRFIELD(stream_class->assigns_automatic_stream_id));
+ PRFIELD(stream_class->assigns_automatic_stream_id),
+ PRFIELD(stream_class->packets_have_default_beginning_clock_snapshot),
+ PRFIELD(stream_class->packets_have_default_end_clock_snapshot));
BUF_APPEND(", %strace-class-addr=%p", PRFIELD(trace_class));
SET_TMP_PREFIX("trace-class-");
format_trace_class(buf_ch, false, tmp_prefix, trace_class);