From: "Tzvetomir Stoyanov (VMware)" <tz.stoyanov@gmail.com>
To: rostedt@goodmis.org
Cc: linux-trace-devel@vger.kernel.org
Subject: [PATCH 0/2] Refactoring and improvements of time sync logic
Date: Mon, 15 Mar 2021 08:18:17 +0200 [thread overview]
Message-ID: <20210315061819.168426-1-tz.stoyanov@gmail.com> (raw)
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
next reply other threads:[~2021-03-15 6:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-15 6:18 Tzvetomir Stoyanov (VMware) [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210315061819.168426-1-tz.stoyanov@gmail.com \
--to=tz.stoyanov@gmail.com \
--cc=linux-trace-devel@vger.kernel.org \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).