Re: disabling group leader perf_event
From: Peter Zijlstra
Date: Mon Sep 06 2010 - 07:25:19 EST
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.
--
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/