[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v5] x86/VPMU: implement ipc and arch filter flags
On Thu, Jan 7, 2016 at 6:12 AM, Jan Beulich <JBeulich@xxxxxxxx> wrote: >>> On 05.01.16 at 02:43, <bgregg@xxxxxxxxxxx> wrote: Ok. Â
Ok. Â
Ok. Â > --- a/xen/arch/x86/cpu/vpmu_intel.c Ok, yes, neater. Â > @@ -656,12 +661,55 @@ static int core2_vpmu_do_wrmsr(unsigned int msr, uint64_t msr_content, Ok. Â > +Â Â Â Â Â Â { Ok. Â > +Â Â Â Â Â Â Â Â } Ok. Â
I'd say they do, as it's pmu.h, and it places them with the BTS feature, other PMU modes, etc. Unless I'm missing some consideration. Yes, I missed the new sysfs PMU interface, so do_xenpmu_op() should do: Â Â case XENPMU_feature_set: Â Â Â Â if ( pmu_params.val & ~(XENPMU_FEATURE_INTEL_BTS | Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â XENPMU_FEATURE_IPC_ONLY | Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â XENPMU_FEATURE_ARCH_ONLY)) Â Â Â Â Â Â return -EINVAL; I can send along a v6 patch with the other changes too if that's desirable. Thanks, and sorry for the nuisance. Brendan Brendan Gregg, Senior Performance Architect, Netflix _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |