From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Zijlstra Subject: Re: KVM PMU virtualization Date: Wed, 03 Mar 2010 11:15:23 +0100 Message-ID: <1267611323.25158.86.camel@laptop> References: <4B86917C.4070102@redhat.com> <20100225173423.GB4246@8bytes.org> <1267152917.1726.82.camel@localhost> <20100226085105.GC4246@8bytes.org> <20100226091732.GI15885@elte.hu> <1267513746.1726.104.camel@localhost> <20100302093629.GB8591@elte.hu> <1267587152.1726.171.camel@localhost> <1267608432.1726.182.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Ingo Molnar , Joerg Roedel , Jes Sorensen , KVM General , Avi Kivity , Zachary Amsden , Gleb Natapov , ming.m.lin@intel.com To: "Zhang, Yanmin" Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:41191 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751987Ab0CCKPZ (ORCPT ); Wed, 3 Mar 2010 05:15:25 -0500 Received: from e35131.upc-e.chello.nl ([213.93.35.131] helo=dyad.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.69 #1 (Red Hat Linux)) id 1Nmlbx-0005Cu-4i for kvm@vger.kernel.org; Wed, 03 Mar 2010 10:15:25 +0000 In-Reply-To: <1267608432.1726.182.camel@localhost> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, 2010-03-03 at 17:27 +0800, Zhang, Yanmin wrote: > -#ifndef perf_misc_flags > -#define perf_misc_flags(regs) (user_mode(regs) ? PERF_RECORD_MISC_USER : \ > - PERF_RECORD_MISC_KERNEL) > -#define perf_instruction_pointer(regs) instruction_pointer(regs) > -#endif Ah, that #ifndef is for powerpc, which I think you just broke.