[Linuxptp-devel] [PATCH v5 09/13] ts2phc_slave: print offset to the source clock
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
|
From: Vladimir O. <ol...@gm...> - 2021-11-23 00:14:45
|
Make this information more visible by default, since it is the key
output of this program.
Signed-off-by: Vladimir Oltean <ol...@gm...>
Reviewed-by: Jacob Keller <jac...@in...>
---
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, &sink->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
|