Messages in this thread | | | Date | Thu, 26 Sep 2013 14:24:32 +0200 | From | Jiri Olsa <> | Subject | Re: [PATCH 08/21] perf: Add new 'paused' attribute |
| |
On Wed, Sep 25, 2013 at 03:41:47PM -0700, Sukadev Bhattiprolu wrote: > Jiri Olsa [jolsa@redhat.com] 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
| |