perf/x86/intel/pt: Export pt_cap_get()
[ Upstream commit f6d079ce867d679e4dffef5b3112c7634215fd88 ] pt_cap_get() is required by the upcoming PT support in KVM guests. Export it and move the capabilites enum to a global header. As a global functions, "pt_*" is already used for ptrace and other things, so it makes sense to use "intel_pt_*" as a prefix. Acked-by:Song Liu <songliubraving@fb.com> Signed-off-by:
Chao Peng <chao.p.peng@linux.intel.com> Signed-off-by:
Luwei Kang <luwei.kang@intel.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Stable-dep-of: ad97196379d0 ("perf/x86/intel/pt: Fix a topa_entry base address calculation") Signed-off-by:
Sasha Levin <sashal@kernel.org> (cherry picked from commit bea2d4588e90f56da62b0dd9099484a42498b08a) Signed-off-by:
Vegard Nossum <vegard.nossum@oracle.com>
Loading
Please register or sign in to comment