Re: [PATCH] perf record: enable multiplexing scaling via -R

From: Jiri Olsa
Date: Tue Aug 22 2017 - 03:03:39 EST


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 <andi@xxxxxxxxxxxxxx> wrote:
> > >
> > > Stephane Eranian <eranian@xxxxxxxxxx> 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

jirka