On Tue, Feb 15, 2011 at 3:55 PM, Peter Zijlstra wrote:
> On Mon, 2011-02-14 at 11:20 +0200, Stephane Eranian wrote:
>> + if (mode & PERF_CGROUP_SWOUT) {
>> + cpu_ctx_sched_out(cpuctx, EVENT_ALL);
>> + /*
>> +
On Mon, 2011-02-14 at 11:20 +0200, Stephane Eranian wrote:
> + if (mode & PERF_CGROUP_SWOUT) {
> + cpu_ctx_sched_out(cpuctx, EVENT_ALL);
> + /*
> +* must not be done before ctxswout dur
This kernel patch adds the ability to filter monitoring based on
container groups (cgroups). This is for use in per-cpu mode only.
The cgroup to monitor is passed as a file descriptor in the pid
argument to the syscall. The file descriptor must be opened to
the cgroup name in the cgroup files