ccv: output reference clock class on error
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 9 Sep 2024 19:44:08 +0000 (15:44 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 9 Oct 2024 02:56:57 +0000 (22:56 -0400)
commit0c9a26f3293744b99b6fe06d3847559c6c176a31
treeca9e291cd46ec302523172190c799b5a7a259925
parent02b8a6800cc96fb900941ac9154d066b3fcd565b
ccv: output reference clock class on error

On validation error, always output the clock class used as a reference.
In combination with the error type, the callers will be able to inspect
the reference clock class to obtain the details needed to generate the
appropriate error message.

The goal of this change is to avoid having to add many output parameters
when adding support for MIP 1, keeping things simpler.

Change-Id: I032cc706d586134a35aabd14d9fb00611b430ad0
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12782
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins <jenkins@lttng.org>
src/clock-correlation-validator/clock-correlation-validator.cpp
src/clock-correlation-validator/clock-correlation-validator.h
src/clock-correlation-validator/clock-correlation-validator.hpp
src/lib/graph/iterator.c
src/plugins/utils/muxer/msg-iter.cpp
This page took 0.024974 seconds and 4 git commands to generate.