Re: perf: prctl(PR_TASK_PERF_EVENTS_DISABLE) has no effect

From: Ingo Molnar
Date: Sat Jan 28 2012 - 07:02:39 EST



* Andrew Steets <asteets@xxxxxxxxxxxxxxx> wrote:

> prctl(PR_TASK_PERF_EVENTS_DISABLE) doesn't appear to disable
> perf event counters. Here is a demonstration program:

btw., what's your usecase?

Thanks,

Ingo
--
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/