[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 0 of 2] vpmu:preparations for using BTS on intel cpus
Hi, These 2 patches extends the vpmu implementation mainly for Intel cpus. The aim is to get a base for using BTS (branch trace store) and possibly PEBS (precise event-based sampling) facilities of newer Intel cpus in HVM domUs following in later patches. First the initialisiations of the PMU of the different architectures are moved to the special architecture directories. Second a new function to handle specical PMU cpuid flags is added. The aim is, to let access the PMU cpuid flags via libxc-cpuid and switch these of depending on the boot variable opt_vpmu_enabled and the existing virtualisation of the feature. Thanks, Dietmar. xen/arch/x86/hvm/svm/vpmu.c | 26 ++++++++++++++++++++++ xen/arch/x86/hvm/vmx/vpmu_core2.c | 31 ++++++++++++++++++++++++++ xen/arch/x86/hvm/vpmu.c | 45 +++++--------------------------------- xen/include/asm-x86/hvm/vpmu.h | 6 +++- tools/libxc/xc_cpuid_x86.c | 1 + xen/arch/x86/hvm/vmx/vmx.c | 2 + xen/arch/x86/hvm/vmx/vpmu_core2.c | 38 +++++++++++++++++++++++++++++++- xen/arch/x86/hvm/vpmu.c | 25 +++++++++++++++------ xen/include/asm-x86/hvm/vpmu.h | 6 +++++ 9 files changed, 130 insertions(+), 50 deletions(-) -- Company details: http://ts.fujitsu.com/imprint.html _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |