s390/perf,oprofile: Share sampling facility
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Thu, 12 Dec 2013 15:52:48 +0000 (16:52 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 16 Dec 2013 13:37:52 +0000 (14:37 +0100)
commite28bb79d9935293a8eea5f3c771fde89db645ba7
tree0d552a218e87c70ca55b5b103b5ef2a71477d400
parent55baa2f831ae4a41da9617ab9e7cef5ebc991ec9
s390/perf,oprofile: Share sampling facility

Introduce reserve/release functions to share the sampling facility
between perf and oprofile.
Also improve error handling for the sampling facility support in perf.

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/perf_event.h
arch/s390/kernel/perf_cpum_sf.c
arch/s390/kernel/perf_event.c
arch/s390/oprofile/hwsampler.c
arch/s390/oprofile/init.c