commit | 6f10581aeaa5543a3b7a8c7a87a064375ec357f8 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | Fri Nov 20 22:19:56 2009 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Sat Nov 21 14:11:40 2009 +0100 |
tree | 57b94ae6f96d8a2e12bd8537a54b75d652636e00 | |
parent | 59ed446f792cc07d37b1536b9c4664d14e25e425 [diff] |
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 <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> LKML-Reference: <20091120212509.251030114@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>