diff options
author | Juergen Gross <jgross@suse.com> | 2017-04-12 08:27:07 +0200 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2017-05-02 11:13:42 +0200 |
commit | fd9145fd270c7d152853219b8b44210026fa3c02 (patch) | |
tree | 92b923bbd5770407a78592b6f1b66f297c1e7e4c /tools/perf/scripts/python/sched-migration.py | |
parent | 3ee99df333a0ac57c3bd8155dfa56fc275668f88 (diff) |
x86/xen: use capabilities instead of fake cpuid values for aperf
When running as pv domain xen_cpuid() is being used instead of
native_cpuid(). In xen_cpuid() the aperf/mperf feature is indicated
as not being present by special casing the related cpuid leaf.
Instead of delivering fake cpuid values clear the cpu capability bit
for aperf/mperf instead.
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions