linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Refactoring and improvements of time sync logic
@ 2021-03-15  6:18 Tzvetomir Stoyanov (VMware)
  2021-03-15  6:18 ` [PATCH 1/2] trace-cmd: Move time sync logic in the trace-cmd library Tzvetomir Stoyanov (VMware)
  2021-03-15  6:18 ` [PATCH 2/2] trace-cmd: Wait for first time sync before the trace Tzvetomir Stoyanov (VMware)
  0 siblings, 2 replies; 6+ messages in thread
From: Tzvetomir Stoyanov (VMware) @ 2021-03-15  6:18 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.

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                | 517 ++++++++++++++++--
 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, 579 insertions(+), 380 deletions(-)
 delete mode 100644 tracecmd/trace-tsync.c

-- 
2.29.2


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

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

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

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