Re: [PATCH V5 4/8] perf/x86/intel/uncore: add new data structures for free running counters
From: Andi Kleen
Date: Fri Jan 19 2018 - 20:25:56 EST
On Fri, Jan 19, 2018 at 12:51:08PM -0800, Stephane Eranian wrote:
> On Fri, Jan 19, 2018 at 12:50 PM, Stephane Eranian <eranian@xxxxxxxxxx> wrote:
> > On Fri, Jan 19, 2018 at 12:24 PM, Andi Kleen <ak@xxxxxxxxxxxxxxx> wrote:
> >>> Oh, think a bit more.
> >>> I think we cannot do the same thing as we did for CPU PMU's fixed counters.
> >>>
> >>> The counters here are free running counters. They cannot be start/stop.
> >>
> >> Yes free running counter have completely different semantics. They
> >> need a separate event code.
> >>
> > Are you saying, you can be shared with no multiplexing?
> >
> Obviously not you, but the counters ;-)
Yes free running can be always shared.
-Andi