diff mbox series

trace-cmd: Disable PTP timesync internal debug

Message ID 20220411041022.132420-1-tz.stoyanov@gmail.com (mailing list archive)
State Accepted
Commit 4053010ee2834b270470c3a5c3c2da2dee5a901b
Headers show
Series trace-cmd: Disable PTP timesync internal debug | expand

Commit Message

Tzvetomir Stoyanov (VMware) April 11, 2022, 4:10 a.m. UTC
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@gmail.com>
---
 lib/trace-cmd/trace-timesync-ptp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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;