[PATCH] trace-cmd: Disable PTP timesync internal debug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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")
Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@xxxxxxxxx>
---
 lib/trace-cmd/trace-timesync-ptp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/trace-cmd/trace-timesync-ptp.c b/lib/trace-cmd/trace-timesync-ptp.c
index 70242ee3..4f780562 100644
--- a/lib/trace-cmd/trace-timesync-ptp.c
+++ b/lib/trace-cmd/trace-timesync-ptp.c
@@ -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;
-- 
2.35.1




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux