diff options
author | Vitaly Kuznetsov <[email protected]> | 2017-06-22 18:07:30 +0800 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-06-22 15:35:12 +0200 |
commit | 71c2a2d0a81f096a2932fccb39a500116fece554 (patch) | |
tree | 0d633df9e9084d3f46b1cfea517c3f36165a6eca /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 2cf0284223a40773bd0ec76a409a7cbf0607ca28 (diff) |
x86/hyperv: Read TSC frequency from a synthetic MSR
It was found that SMI_TRESHOLD of 50000 is not enough for Hyper-V
guests in nested environment and falling back to counting jiffies
is not an option for Gen2 guests as they don't have PIT. As Hyper-V
provides TSC frequency in a synthetic MSR we can just use this information
instead of doing a error prone calibration.
Reported-and-tested-by: Ladi Prosek <[email protected]>
Signed-off-by: Vitaly Kuznetsov <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Stephen Hemminger <[email protected]>
Cc: Haiyang Zhang <[email protected]>
Cc: Jork Loeser <[email protected]>
Cc: [email protected]
Cc: "K. Y. Srinivasan" <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions