Re: [Linuxptp-devel] [PATCH v5 09/13] ts2phc_slave: print offset to the source clock

2022-06-14 Thread Richard Cochran
On Tue, Nov 23, 2021 at 02:14:17AM +0200, Vladimir Oltean wrote:
> Make this information more visible by default, since it is the key
> output of this program.

ok


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


[Linuxptp-devel] [PATCH v5 09/13] ts2phc_slave: print offset to the source clock

2021-11-22 Thread Vladimir Oltean
Make this information more visible by default, since it is the key
output of this program.

Signed-off-by: Vladimir Oltean 
Reviewed-by: Jacob Keller 
---
v4->v5: rebase on top of the variable renames
v1->v4: none

 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 729aac8f570f..69cc97179e36 100644
--- a/ts2phc_pps_sink.c
+++ b/ts2phc_pps_sink.c
@@ -260,8 +260,8 @@ static int ts2phc_pps_sink_event(struct ts2phc_pps_sink 
*sink,
adj = servo_sample(sink->clock->servo, offset, extts_ts,
   SAMPLE_WEIGHT, >clock->servo_state);
 
-   pr_debug("%s source offset %10" PRId64 " s%d freq %+7.0f",
-sink->name, offset, sink->clock->servo_state, adj);
+   pr_info("%s source offset %10" PRId64 " s%d freq %+7.0f",
+   sink->name, offset, sink->clock->servo_state, adj);
 
switch (sink->clock->servo_state) {
case SERVO_UNLOCKED:
-- 
2.25.1



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