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)
commitc19805f870c1fa87c69819eb1e18d9c5fc398f58
tree9315f283cb443bea2890f9d714c874f169d73a83
parentb4623d4e5b2370fcf1200cbf832aaa53f6e96ef3
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