summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2014-11-04 21:30:44 -0200
committerPaolo Bonzini <pbonzini@redhat.com>2014-11-08 08:20:53 +0100
commit7f187922ddf6b67f2999a76dcb71663097b75497 (patch)
tree618f63240bed03d67a099ba0bc3be77b6c932466 /tools/perf/scripts/python/syscall-counts.py
parentb2c9d43e6c0f821bde0c1c840038d159d18f1519 (diff)
KVM: x86: update masterclock values on TSC writes
When the guest writes to the TSC, the masterclock TSC copy must be updated as well along with the TSC_OFFSET update, otherwise a negative tsc_timestamp is calculated at kvm_guest_time_update. Once "if (!vcpus_matched && ka->use_master_clock)" is simplified to "if (ka->use_master_clock)", the corresponding "if (!ka->use_master_clock)" becomes redundant, so remove the do_request boolean and collapse everything into a single condition. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions