All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] trace-cmd: Disable PTP timesync internal debug
@ 2022-04-11  4:10 Tzvetomir Stoyanov (VMware)
  0 siblings, 0 replies; only message in thread
From: Tzvetomir Stoyanov (VMware) @ 2022-04-11  4:10 UTC (permalink / raw)
  To: rostedt; +Cc: linux-trace-devel

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 --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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-11  4:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-11  4:10 [PATCH] trace-cmd: Disable PTP timesync internal debug Tzvetomir Stoyanov (VMware)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.