summaryrefslogtreecommitdiffstats
path: root/arch/x86/events/Kconfig
diff options
context:
space:
mode:
authorLuwei Kang <luwei.kang@intel.com>2018-10-24 16:05:07 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2018-12-21 11:28:32 +0100
commit61be2998ca541f7d9f487479b2ec519d83328085 (patch)
tree6c6f53ba15963a0b25f60b8244617b5d337ecc14 /arch/x86/events/Kconfig
parentf6d079ce867d679e4dffef5b3112c7634215fd88 (diff)
downloadlinux-61be2998ca541f7d9f487479b2ec519d83328085.tar.bz2
perf/x86/intel/pt: Introduce intel_pt_validate_cap()
intel_pt_validate_hw_cap() validates whether a given PT capability is supported by the hardware. It checks the PT capability array which reflects the capabilities of the hardware on which the code is executed. For setting up PT for KVM guests this is not correct as the capability array for the guest can be different from the host array. Provide a new function to check against a given capability array. Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Luwei Kang <luwei.kang@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/events/Kconfig')
0 files changed, 0 insertions, 0 deletions