From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Zijlstra Subject: Re: [PATCH 1/3] perf, core: Introduce attrs to count in either host or guest mode Date: Wed, 11 May 2011 15:49:05 +0200 Message-ID: <1305121745.2914.216.camel@laptop> References: <1305038132-5080-1-git-send-email-joerg.roedel@amd.com> <1305038132-5080-2-git-send-email-joerg.roedel@amd.com> <4DCA76A5.7030000@redhat.com> <4DCA76D7.2010608@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Joerg Roedel , Paul Mackerras , Ingo Molnar , Arnaldo Carvalho de Melo , linux-kernel@vger.kernel.org, kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:58784 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757452Ab1EKQSs (ORCPT ); Wed, 11 May 2011 12:18:48 -0400 Received: from canuck.infradead.org ([134.117.69.58]) by bombadil.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1QK9jo-0001r1-Q6 for kvm@vger.kernel.org; Wed, 11 May 2011 13:46:04 +0000 Received: from j77219.upc-j.chello.nl ([24.132.77.219] helo=dyad.programming.kicks-ass.net) by canuck.infradead.org with esmtpsa (Exim 4.72 #1 (Red Hat Linux)) id 1QK9jo-0000Vz-4m for kvm@vger.kernel.org; Wed, 11 May 2011 13:46:04 +0000 In-Reply-To: <4DCA76D7.2010608@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, 2011-05-11 at 14:45 +0300, Avi Kivity wrote: > Well, actually, that depends on the meaning of exclude_hv. exclude_hv is for when the host is a guest and we don't wish to sample the host's host etc. PPC introduced this because ppc-linux runs as a guest of the 'firmware' and not on the native hardware.