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

From: Stephane Eranian
Date: Tue Aug 22 2017 - 03:25:06 EST


On Tue, Aug 22, 2017 at 12:03 AM, Jiri Olsa <jolsa@xxxxxxxxxx> 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 <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
>
Ok, then. I will add an option to turn this on. This is a useful mode
for many advanced users.

>
> jirka