lkml.org 
[lkml]   [2010]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: disabling group leader perf_event
From
Date
On Mon, 2010-09-06 at 12:12 +0300, Avi Kivity wrote:
> If I read the code correctly, disabling a group leader perf_event will
> disable the entire group.
>
> Is this correct?

Yeah, pretty much.

> If so, how can I disable just the event itself? Can I allocate a dummy
> invent for the group leader so I can enable and disable each perf_event
> in the group individually?

Which makes me wonder why you use groups in the first place.


\
 
 \ /
  Last update: 2010-09-06 13:27    [W:0.106 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site