perf: Simplify the ring-buffer logic: make perf_buffer_alloc() do everything needed
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 28 May 2010 17:41:35 +0000 (19:41 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 9 Jun 2010 09:12:35 +0000 (11:12 +0200)
Currently there are perf_buffer_alloc() + perf_buffer_init() + some
separate bits, fold it all into a single perf_buffer_alloc() and only
leave the attachment to the event separate.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found