All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: linux-trace-devel@vger.kernel.org
Cc: "Steven Rostedt (Google)" <rostedt@goodmis.org>
Subject: [PATCH 0/2] trace-cmd: Fix clock setting of agent proxy
Date: Mon, 23 May 2022 21:50:26 -0400	[thread overview]
Message-ID: <20220524015028.260238-1-rostedt@goodmis.org> (raw)

From: "Steven Rostedt (Google)" <rostedt@goodmis.org>

trace-cmd record does not set its clock to TSC if it connects to a agent
proxy, when it should. This breaks the synchronization. It works if the user
manually sets the clock to TSC before running the record, but the user
should not need to do that.

Also, if the TSC2NSEC option is set, then print the timing out in seconds
(with fractions) instead of the time stamp in nanoseconcds.

Steven Rostedt (Google) (2):
  trace-cmd library: Keep USECS flag if TSC multiplier is set
  trace-cmd record: Set clock to TSC when connecting to a proxy with kvm

 lib/trace-cmd/trace-input.c |  6 ++++++
 tracecmd/trace-record.c     | 13 +++++++++++++
 2 files changed, 19 insertions(+)

-- 
2.35.1


             reply	other threads:[~2022-05-24  1:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-24  1:50 Steven Rostedt [this message]
2022-05-24  1:50 ` [PATCH 1/2] trace-cmd library: Keep USECS flag if TSC multiplier is set Steven Rostedt
2022-05-24  1:50 ` [PATCH 2/2] trace-cmd record: Set clock to TSC when connecting to a proxy with kvm 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=20220524015028.260238-1-rostedt@goodmis.org \
    --to=rostedt@goodmis.org \
    --cc=linux-trace-devel@vger.kernel.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 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.