]> git.baikalelectronics.ru Git - kernel.git/commit
perf/x86/intel/pt: Export pt_cap_get()
authorChao Peng <chao.p.peng@linux.intel.com>
Wed, 24 Oct 2018 08:05:06 +0000 (16:05 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 21 Dec 2018 10:28:32 +0000 (11:28 +0100)
commit1e2322a2435100cfab3defcb49eda8de3e3c1687
treebca88605d39dfab913f1e41dfa10b0fd826b2709
parent15ce081ca81535169bc93724013a49f08f2e4259
perf/x86/intel/pt: Export pt_cap_get()

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>
arch/x86/events/intel/pt.c
arch/x86/events/intel/pt.h
arch/x86/include/asm/intel_pt.h