From: Simon Marchi Date: Fri, 1 Mar 2024 15:59:51 +0000 (-0500) Subject: clock-correlation-validator: add clock correlation validation util X-Git-Url: https://git.efficios.com/?a=commitdiff_plain;h=e0f8968a1182ea437ee4db0abc4043ba1dc286a2;hp=e0f8968a1182ea437ee4db0abc4043ba1dc286a2;p=babeltrace.git clock-correlation-validator: add clock correlation validation util `lib/graph/iterator.c` and `plugins/utils/muxer/msg-iter.cpp` have equivalent code to verify that the various clock classes they see are correlatable. Add a util to factor out this logic. Since the lib is written in C and the muxer component in C++, we need both interfaces. I chose to write the core of the library with a proper C++ interface (since that's the future!) and make a small C wrapper around it. If/when we migrate some parts of the lib to C++, we will be able to drop this C wrapper. Change-Id: Iab8968ef33c9f7d4e2e8e06e0942de749a090841 Signed-off-by: Simon Marchi Reviewed-on: https://review.lttng.org/c/babeltrace/+/11753 Reviewed-by: Philippe Proulx Tested-by: jenkins ---