From: Peter Zijlstra Date: Fri, 15 Oct 2010 09:40:29 +0000 (+0200) Subject: perf: Fix group moving X-Git-Tag: v2.6.37-rc1~214^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74c3337c2fc6389d3a57a622a936036b6db6b2e8;p=pandora-kernel.git perf: Fix group moving Matt found we trigger the WARN_ON_ONCE() in perf_group_attach() when we take the move_group path in perf_event_open(). Since we cannot de-construct the group (we rely on it to move the events), we have to simply ignore the double attach. The group state is context invariant and doesn't need changing. Reported-by: Matt Fleming Signed-off-by: Peter Zijlstra LKML-Reference: <1287135757.29097.1368.camel@twins> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed