From: Peter Zijlstra Date: Fri, 20 Nov 2009 21:19:56 +0000 (+0100) Subject: perf: Fix locking for PERF_FORMAT_GROUP X-Git-Tag: v2.6.33-rc1~399^2~126 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f10581aeaa5543a3b7a8c7a87a064375ec357f8;p=pandora-kernel.git perf: Fix locking for PERF_FORMAT_GROUP We should hold event->child_mutex when iterating the inherited counters, we should hold ctx->mutex when iterating siblings. Signed-off-by: Peter Zijlstra Cc: Paul Mackerras LKML-Reference: <20091120212509.251030114@chello.nl> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed