trace-cmd: Fix up kvm time synchronization
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | trace-cmd kvm timesync: Use stat() in kvm_scaling_check_vm_cpu()lib/ | +3 | 0 replies | |
| 2/4 | trace-cmd kvm timesync: Check for one valid VMlib/ | +36 | 0 replies | |
| 3/4 | trace-cmd record: Set the proper role when connected to a proxytracecmd/ | +5 | 0 replies | |
| 4/4 | trace-cmd: Mount debugfs if needed for KVM dataMakefile lib/ | +36 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] trace-cmd: Fix up kvm time synchronization
From: "Steven Rostedt (Google)" <[email protected]>
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(-)
Signature · 1 line
2.35.1