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

From: Andi Kleen
Date: Mon Aug 21 2017 - 21:25:51 EST


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.

-Andi