linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Refactoring and improvements of time sync logic
@ 2021-03-17 11:39 Tzvetomir Stoyanov (VMware)
  2021-03-17 11:39 ` [PATCH v2 1/2] trace-cmd: Move time sync logic in the trace-cmd library Tzvetomir Stoyanov (VMware)
  2021-03-17 11:39 ` [PATCH v2 2/2] trace-cmd: Wait for first time sync before the trace Tzvetomir Stoyanov (VMware)
  0 siblings, 2 replies; 3+ messages in thread
From: Tzvetomir Stoyanov (VMware) @ 2021-03-17 11:39 UTC (permalink / raw)
  To: rostedt; +Cc: linux-trace-devel

The logic for host-guest time synchronization is moved from trace-cmd
application context to the trace-cmd library.
Additional logic is added, to ensure the first pass of the
synchronization is completed before starting the trace.

v2 changes:
 - Coding style and gramar fixes.

Tzvetomir Stoyanov (VMware) (2):
  trace-cmd: Move time sync logic in the trace-cmd library
  trace-cmd: Wait for first time sync before the trace

 lib/trace-cmd/Makefile                        |   2 -
 .../include/private/trace-cmd-private.h       |  33 +-
 lib/trace-cmd/include/trace-tsync-local.h     |  16 +
 lib/trace-cmd/trace-timesync.c                | 515 ++++++++++++++++--
 tracecmd/Makefile                             |   3 -
 tracecmd/include/trace-local.h                |   5 +-
 tracecmd/trace-agent.c                        |  19 +-
 tracecmd/trace-record.c                       |  70 ++-
 tracecmd/trace-tsync.c                        | 294 ----------
 9 files changed, 576 insertions(+), 381 deletions(-)
 delete mode 100644 tracecmd/trace-tsync.c

-- 
2.29.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-17 11:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-17 11:39 [PATCH v2 0/2] Refactoring and improvements of time sync logic Tzvetomir Stoyanov (VMware)
2021-03-17 11:39 ` [PATCH v2 1/2] trace-cmd: Move time sync logic in the trace-cmd library Tzvetomir Stoyanov (VMware)
2021-03-17 11:39 ` [PATCH v2 2/2] trace-cmd: Wait for first time sync before the trace Tzvetomir Stoyanov (VMware)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).