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

From: Vince Weaver
Date: Wed Apr 18 2018 - 11:10:35 EST


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?

If so I should update the perf_event_open manpage to spell this out.

Vince