Re: [RFC] perf/core: what is exclude_idle supposed to do

From: Peter Zijlstra
Date: Fri Apr 20 2018 - 04:36:24 EST


On Wed, Apr 18, 2018 at 11:10:20AM -0400, Vince Weaver wrote:
> On Tue, 17 Apr 2018, Jiri Olsa wrote:
>
> > On Mon, Apr 16, 2018 at 10:04:53PM +0000, Stephane Eranian wrote:
> > > Hi,
> > >
> > > I am trying to understand what the exclude_idle event attribute is supposed
> > > to accomplish.
> > > As per the definition in the header file:
> > >
> > > exclude_idle : 1, /* don't count when idle */
> >
> > AFAICS it's not implemented
>
> so just to be completely clear hear, we're saying that the "exclude_idle"
> modifier has never done anything useful and still doesn't?

AFAICT it works on Power and possibly ARM.