Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933653Ab3GWQNh (ORCPT ); Tue, 23 Jul 2013 12:13:37 -0400 Received: from one.firstfloor.org ([193.170.194.197]:51121 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933293Ab3GWQNg (ORCPT ); Tue, 23 Jul 2013 12:13:36 -0400 Date: Tue, 23 Jul 2013 18:13:34 +0200 From: Andi Kleen To: Peter Zijlstra Cc: Andi Kleen , mingo@kernel.org, linux-kernel@vger.kernel.org, Andi Kleen , eranian@google.com Subject: Re: [PATCH] perf, x86: Enable PEBS mode automatically for mem-{loads,stores} v3 Message-ID: <20130723161334.GQ6123@two.firstfloor.org> References: <1374188619-19220-1-git-send-email-andi@firstfloor.org> <20130723083834.GS27075@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130723083834.GS27075@twins.programming.kicks-ass.net> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1091 Lines: 33 On Tue, Jul 23, 2013 at 10:38:34AM +0200, Peter Zijlstra wrote: > On Thu, Jul 18, 2013 at 04:03:39PM -0700, Andi Kleen wrote: > > From: Andi Kleen > > > > [The patch to enable this in the user tools has been sent separately] > > > > With the earlier patches to automatically try cpu// and add > > a precise sys attribute, we can now enable PEBS for the mem-loads, > > mem-stores events everywhere. > > > > This allows to use > > > > perf record -e mem-loads ... > > > > instead of > > > > perf record -e cpu/mem-loads/p ... > > > > Always use precise=2 even though it is costly pre-Haswell > > This Changelog fails to give a reason _why_ we'd want to do this. The first is much nicer to type and understand? Just in the spirit of making perf easier to use. -andi -- ak@linux.intel.com -- Speaking for myself only. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/