All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] trace-cmd: Fix up kvm time synchronization
@ 2022-05-22  0:39 Steven Rostedt
  2022-05-22  0:39 ` [PATCH 1/4] trace-cmd kvm timesync: Use stat() in kvm_scaling_check_vm_cpu() Steven Rostedt
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Steven Rostedt @ 2022-05-22  0:39 UTC (permalink / raw)
  To: linux-trace-devel; +Cc: Steven Rostedt (Google)

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

Fix the kvm time synchronization so that it works with the agent proxy. That
includes using "stat()" instead of just reading the content of the file to
see if they exist. Have the kvm time sync functions test for a valid VM
instead of just seeing if there are no failures, as no VMs or VCPUs would
pass when it should not. Set the proper role for the agent proxy.

Finally, mount the debugfs file system if it is not already mounted,
otherwise it will say that KVM time synchronization is not supported when it
actually is.

Steven Rostedt (Google) (4):
  trace-cmd kvm timesync: Use stat() in kvm_scaling_check_vm_cpu()
  trace-cmd kvm timesync: Check for one valid VM
  trace-cmd record: Set the proper role when connected to a proxy
  trace-cmd: Mount debugfs if needed for KVM data

 Makefile                           |  2 +-
 lib/trace-cmd/trace-timesync-kvm.c | 99 ++++++++++++++++++++++--------
 tracecmd/trace-record.c            |  6 +-
 3 files changed, 80 insertions(+), 27 deletions(-)

-- 
2.35.1


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

end of thread, other threads:[~2022-05-22  0:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-22  0:39 [PATCH 0/4] trace-cmd: Fix up kvm time synchronization Steven Rostedt
2022-05-22  0:39 ` [PATCH 1/4] trace-cmd kvm timesync: Use stat() in kvm_scaling_check_vm_cpu() Steven Rostedt
2022-05-22  0:39 ` [PATCH 2/4] trace-cmd kvm timesync: Check for one valid VM Steven Rostedt
2022-05-22  0:39 ` [PATCH 3/4] trace-cmd record: Set the proper role when connected to a proxy Steven Rostedt
2022-05-22  0:39 ` [PATCH 4/4] trace-cmd: Mount debugfs if needed for KVM data Steven Rostedt

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.