Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754687AbdHVHZB (ORCPT ); Tue, 22 Aug 2017 03:25:01 -0400 Received: from mail-it0-f47.google.com ([209.85.214.47]:37213 "EHLO mail-it0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754657AbdHVHZA (ORCPT ); Tue, 22 Aug 2017 03:25:00 -0400 MIME-Version: 1.0 In-Reply-To: <20170822070332.GA21829@krava> References: <1503342849-2036-1-git-send-email-eranian@google.com> <87wp5wr0cb.fsf@firstfloor.org> <20170822012545.GJ2482@two.firstfloor.org> <20170822070332.GA21829@krava> From: Stephane Eranian Date: Tue, 22 Aug 2017 00:24:58 -0700 Message-ID: Subject: Re: [PATCH] perf record: enable multiplexing scaling via -R To: Jiri Olsa Cc: Andi Kleen , LKML , Arnaldo Carvalho de Melo , Peter Zijlstra , "mingo@elte.hu" , "Liang, Kan" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1176 Lines: 33 On Tue, Aug 22, 2017 at 12:03 AM, Jiri Olsa wrote: > > On Mon, Aug 21, 2017 at 06:25:45PM -0700, Andi Kleen wrote: > > On Mon, Aug 21, 2017 at 05:13:29PM -0700, Stephane Eranian wrote: > > > On Mon, Aug 21, 2017 at 4:02 PM, Andi Kleen wrote: > > > > > > > > Stephane Eranian writes: > > > > > > > > > > To activate, the user must use: > > > > > $ perf record -a -R .... > > > > > > > > I don't know why you're overloading the existing raw mode? > > > > > > > > It has nothing to do with that. > > > > > > > I explained this in the changelog. So that is does not change any of > > > the processing in perf report, i.e., no faced with data it does not > > > know how to handle. > > > Also trying to avoid adding yet another option. > > > > But raw is needed for some of the non Intel PMUs. I believe it's > > the only way to use AMD IBS. You may as well break their usage. > > > > You'll need a new option. > > I agree with Andi, I don't think we should mix those, > we should have a way to switch it on/off > Ok, then. I will add an option to turn this on. This is a useful mode for many advanced users. > > jirka