[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v14 for-xen-4.5 20/21] x86/VPMU: NMI-based VPMU support
>>> On 17.10.14 at 23:18, <boris.ostrovsky@xxxxxxxxxx> wrote: > + if ( has_hvm_container_vcpu(sampled) ) > + { > + struct segment_register seg; > + struct xen_pmu_arch *pmu = &v->arch.vpmu.xenpmu_data->pmu; > + struct xen_pmu_regs *r = &pmu->r.regs; > + > + hvm_get_segment_register(sampled, x86_seg_cs, &seg); > + r->cs = seg.sel; > + if ( (r->cs & 3) != 0 ) > + pmu->pmu_flags |= PMU_SAMPLE_USER; > + hvm_get_segment_register(sampled, x86_seg_ss, &seg); > + r->ss = seg.sel; > + } With this adjusted along what was outlined for an earlier patch, feel free to add my ack to this one. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |