Re: [PATCH 08/21] perf: Add new 'paused' attribute

From: Jiri Olsa
Date: Thu Sep 26 2013 - 08:24:57 EST


On Wed, Sep 25, 2013 at 03:41:47PM -0700, Sukadev Bhattiprolu wrote:
> Jiri Olsa [jolsa@xxxxxxxxxx] wrote:
> | Adding new 'paused' perf_event_attr attribute bit. It sets
> | the initial event state as paused, so it wont get started
> | until it's triggered by toggling mechanism.
>
> There is a attr->disabled field which also leaves the event off by
> default. Some comments distinguishing the two states will help ?

right, so the 'disabled' says the event is created as disabled

the 'paused' says the event is enabled, it get's scheduled in/out
but it's does not get started.. toggle event will do that

I'll put more info on that into doc

thanks,
jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/