From: "Jan Beulich" Subject: Re: [PATCH v5 RESEND 07/17] x86/VPMU: Add public xenpmu.h Date: Mon, 28 Apr 2014 10:03:05 +0100 Message-ID: <535E3569020000780000CB97@nat28.tlf.novell.com> References: <1398257438-4994-1-git-send-email-boris.ostrovsky@oracle.com> <1398257438-4994-8-git-send-email-boris.ostrovsky@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Kevin Tian Cc: "keir@xen.org" , "suravee.suthikulpanit@amd.com" , "andrew.cooper3@citrix.com" , Eddie Dong , Donald D Dugger , "xen-devel@lists.xen.org" , "dietmar.hahn@ts.fujitsu.com" , Jun Nakajima , Boris Ostrovsky List-Id: xen-devel@lists.xenproject.org >>> On 26.04.14 at 10:21, wrote: >> From: Boris Ostrovsky [mailto:boris.ostrovsky@oracle.com] >> +struct xen_arch_pmu { >> + union { >> + struct cpu_user_regs regs; >> + uint8_t pad1[256]; >> + } r; >> + union { >> + uint32_t lapic_lvtpc; >> + uint64_t pad2; >> + } l; >> + union { >> + struct xen_pmu_amd_ctxt amd; >> + struct xen_pmu_intel_ctxt intel; >> + uint8_t pad3[XENPMU_CTXT_PAD_SZ]; >> + } c; >> +}; > > 'xen_' prefix is meaningless here, and suppose to sustain vpmu in the names. If these were field names, I'd agree. But I specifically asked for xen_ prefixes on anything going at some kind of global scope (i.e. structure name tags here). Jan