commit | 27f9994c50e95f3a5a81fe4c7491a9f9cffe6ec0 | [log] [tgz] |
---|---|---|
author | Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> | Fri Sep 25 13:54:01 2009 +0800 |
committer | Ingo Molnar <mingo@elte.hu> | Thu Oct 01 09:30:44 2009 +0200 |
tree | 0bab616325b5ebd3529842e1082f7a32fd87c149 | |
parent | 8c9ed8e14c342ec5e7f27e7e498f62409a10eb29 [diff] |
perf_event: Clean up perf_event_init_task() While at it: we can traverse ctx->group_list to get all group leader, it should be safe since we hold ctx->mutex. Changlog v1->v2: - remove WARN_ON_ONCE() according to Peter Zijlstra's suggestion Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> Acked-by: Peter Zijlstra <peterz@infradead.org> Cc: Paul Mackerras <paulus@samba.org> LKML-Reference: <4ABC5AF9.6060808@cn.fujitsu.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>