On Thu, Jul 28, 2022 at 10:37:04AM +0200, Maciek Machnikowski wrote:
> Change loglevel of the current PPS corrections to pr_info to enable
> reporting corrections when the tool is ran with -m parameter only.
> 
> Current implementation requires -l 7 to see them and this debug level
> brings much more informations which are not needed when monitoring the
> service.

This change is already part of Vladimir's series.  Let's give him time
to rebase and resubmit it.

Thanks,
Richard


> Signed-off-by: Maciek Machnikowski <mac...@machnikowski.net>
> ---
>  ts2phc_pps_sink.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/ts2phc_pps_sink.c b/ts2phc_pps_sink.c
> index 91bd7c9..80bc192 100644
> --- a/ts2phc_pps_sink.c
> +++ b/ts2phc_pps_sink.c
> @@ -280,8 +280,8 @@ static int ts2phc_pps_sink_event(struct ts2phc_pps_sink 
> *sink,
>       adj = servo_sample(sink->servo, offset, extts_ts,
>                          SAMPLE_WEIGHT, &sink->state);
>  
> -     pr_debug("%s source offset %10" PRId64 " s%d freq %+7.0f",
> -              sink->name, offset, sink->state, adj);
> +     pr_info("%s source offset %10" PRId64 " s%d freq %+7.0f",
> +             sink->name, offset, sink->state, adj);
>  
>       switch (sink->state) {
>       case SERVO_UNLOCKED:
> -- 
> 2.30.2
> 


_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to