From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758518AbZE2Iqu (ORCPT ); Fri, 29 May 2009 04:46:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758230AbZE2Iq3 (ORCPT ); Fri, 29 May 2009 04:46:29 -0400 Received: from one.firstfloor.org ([213.235.205.2]:60519 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758079AbZE2Iq1 (ORCPT ); Fri, 29 May 2009 04:46:27 -0400 Date: Fri, 29 May 2009 10:53:09 +0200 From: Andi Kleen To: Peter Zijlstra Cc: Andi Kleen , eranian@gmail.com, LKML , Andrew Morton , Thomas Gleixner , Ingo Molnar , Robert Richter , Paul Mackerras , Maynard Johnson , Carl Love , Corey J Ashford , Philip Mucci , Dan Terpstra , perfmon2-devel Subject: Re: comments on Performance Counters for Linux (PCL) Message-ID: <20090529085309.GP1065@one.firstfloor.org> References: <7c86c4470905280758y6d359823h2a7517dfecb115e6@mail.gmail.com> <1243527919.6645.75.camel@laptop> <20090529065104.GO1065@one.firstfloor.org> <1243585158.23657.175.camel@twins> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1243585158.23657.175.camel@twins> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > You're talking about VT stuff, right? Yes. > Does that virtualize the PMU too? A hypervisor can in software, but another common case is a global profiler on the host to be able to profile all guests too. e.g. xenoprofile is able to do that. If you want a full system picture with virtualization that's pretty much required. For that you need a concept of more priviledge levels (host user, host sys, guest user, guest sys) > Happen to have more details? If they really run in user context their > priv level would be the same right, otherwise they run in something > weird, not quite user not quite kernel. Now that might be the case, but > I'm utterly ignorant on itanic. See Documentation/ia64/fsys.txt -Andi -- ak@linux.intel.com -- Speaking for myself only.