perf, x86: Extract PEBS/BTS allocation functions
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 19 Oct 2010 12:15:04 +0000 (14:15 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 22 Oct 2010 12:18:25 +0000 (14:18 +0200)
commit5ee25c87318fa3722026fd77089fa7ba0db8d447
tree37c71a027efe7751d0532a8049dde11b6a0b1b1d
parentb39f88acd7d989b6b247ba87c480fc24ed71d9c5
perf, x86: Extract PEBS/BTS allocation functions

Mostly a cleanup.. it reduces code indentation and makes the code flow
of reserve_ds_buffers() clearer.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Stephane Eranian <eranian@google.com>
LKML-Reference: <20101019134808.253453452@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event_intel_ds.c