]> git.baikalelectronics.ru Git - kernel.git/commit
s390/cpumf: Use configuration level indication for sampling data
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 8 Nov 2016 08:53:34 +0000 (09:53 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 12 Dec 2016 11:12:18 +0000 (12:12 +0100)
commitffab386db4e7d33d13ad92b1374d1c39a0a011dd
tree9315f283cb443bea2890f9d714c874f169d73a83
parentd5b27649238ec85db9f9f304d2876ade1ceaeef6
s390/cpumf: Use configuration level indication for sampling data

Newer hardware provides the level of virtualization that a particular
sample belongs to. Use that information and fall back to the old
heuristics if the sample does not contain that information.

Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Reviewed-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/cpu_mf.h
arch/s390/kernel/perf_cpum_sf.c