[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110531140359.GA13134@aftab>
Date: Tue, 31 May 2011 16:03:59 +0200
From: Borislav Petkov <bp@...64.org>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Ben Blum <bblum@...rew.cmu.edu>,
Stephane Eranian <eranian@...gle.com>
Cc: Ingo Molnar <mingo@...e.hu>, LKML <linux-kernel@...r.kernel.org>
Subject: perf cgroup per-task attaching
Just FYI:
I'm getting
kernel/events/core.c:7445: warning: initialization from incompatible pointer type
when building -rc1 with CONFIG_CGROUP_PERF enabled. AFAICT, this is
due to the fact that f780bdb7c1c73009cb57adcf99ef50027d80bf3c dropped
the threadgroup arg from cgroup_subsys->attach in favour of per-thread
callbacks.
perf_cgroup_attach() actually does reschedule the task context after
the cgroup changes so the perf cgroup code would need some non-trivial
adjusting to the new APIs.
--
Regards/Gruss,
Boris.
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach
General Managers: Alberto Bozzo, Andrew Bowd
Registration: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
--
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