[PATCH 0/2] trace-cmd: Fix clock setting of agent proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Steven Rostedt (Google)" <rostedt@xxxxxxxxxxx>

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




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux