Skip to contentSkip to conversation

trace-cmd: Disable PTP timesync internal debug

PATCH New Tzvetomir Stoyanov (VMware) 1 participant 1 message Apr 11, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 trace-cmd: Disable PTP timesync internal debug

PTP internal debug prints various information about the work of the host-guest timestamp synchronization with PTP algorithm. It also dumps a few text files on the guest with the results of each PTP iteration, used for debug purposes. The internal define, which turns on this logic is forgotten.

Fixes fd86ac9e ("trace-cmd: PTP-like algorithm for host - guest timestamp synchronization")
---
 lib/trace-cmd/trace-timesync-ptp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/trace-cmd/trace-timesync-ptp.c +1 -1
index 70242ee3..4f780562 100644
@@ -35,7 +35,7 @@ typedef __s64 s64;
 #define PTP_SYNC_PKT_END	5
 
 /* print time sync debug messages */
-#define TSYNC_DEBUG
+/* #define TSYNC_DEBUG */
 
 struct ptp_clock_sync {
 	struct tep_handle	*tep;
Signature · 1 line
2.35.1