Re: perf: prctl(PR_TASK_PERF_EVENTS_DISABLE) has no effect

From: Peter Zijlstra
Date: Fri Jan 27 2012 - 12:12:55 EST


On Fri, 2012-01-27 at 11:03 -0600, Andrew Steets wrote:
> Can anyone tell
> me if I'm using this wrong or if this is a bug?

You're using it wrong, it will disable events you own (created) not
events that monitor you.
--
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/