From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [RFC][PATCH 0/3] perf support for amd guest/host-only bits Date: Wed, 11 May 2011 10:57:44 +0200 Message-ID: <20110511085744.GA8707@8bytes.org> References: <1305038132-5080-1-git-send-email-joerg.roedel@amd.com> <20110510152132.GA25705@elte.hu> <20110510155024.GG30996@amd.com> <20110510204149.GE21903@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Roedel, Joerg" , "yanmin_zhang@linux.intel.com" , Peter Zijlstra , Paul Mackerras , Arnaldo Carvalho de Melo , "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" To: Ingo Molnar Return-path: Content-Disposition: inline In-Reply-To: <20110510204149.GE21903@elte.hu> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Tue, May 10, 2011 at 10:41:49PM +0200, Ingo Molnar wrote: > 'perf kvm' is the tool that is making Linux instrumentation friendlier to KVM > developers. Can you think of ways to utilize this new feature there? > > For example a new 'perf kvm stat' feature could pass the exclusion bits to perf > stat automatically. 'perf kvm record' could record on the guest only by > default. Yes, that would make sense. 'perf kvm' can default to guest-only profiling. Hmm, but that would change existing behavior. It is probably better to bind it to the --guest and --host parameters of perf-kvm. Okay, this changes existing behavior too, so the default-thing seems the better choice :) Joerg