s390/perf: add support for the CPU-Measurement Sampling Facility
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Thu, 12 Dec 2013 15:32:47 +0000 (16:32 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 16 Dec 2013 13:37:51 +0000 (14:37 +0100)
commit8c069ff4bd6063a3f15e606c882e03f75c7e7711
tree39fc5d8b13aee5c4c9a8ca2e21e4fefd9a308f1a
parentc716832513f30430179b60ac5ffd203c53f7eb40
s390/perf: add support for the CPU-Measurement Sampling Facility

Introduce a perf PMU, "cpum_sf", to support the CPU-Measurement
Sampling Facility.  You can control the sampling facility through
this perf PMU interfaces.  Perf sampling events are created for
hardware samples.

For details about the CPU-Measurement Sampling Facility, see
"The Load-Program-Parameter and the CPU-Measurement Facilities" (SA23-2260).

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/cpu_mf.h
arch/s390/include/asm/perf_event.h
arch/s390/kernel/Makefile
arch/s390/kernel/perf_cpum_sf.c [new file with mode: 0644]
arch/s390/kernel/perf_event.c