]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit846545c6f1f8417d85fc0a195b45d1a4b08e4d15
tree39fc5d8b13aee5c4c9a8ca2e21e4fefd9a308f1a
parent19d58b721cca1ed73a44f5d87f972fcafc8b30b4
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