[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1283772256.1930.303.camel@laptop>
Date: Mon, 06 Sep 2010 13:24:16 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Avi Kivity <avi@...hat.com>
Cc: linux-perf-users@...r.kernel.org,
linux-kernel <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...e.hu>
Subject: Re: disabling group leader perf_event
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists