KVM: s390: use pid of cpu thread for sampling tagging
authorChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 9 Jul 2015 15:56:13 +0000 (17:56 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 3 Aug 2015 08:04:59 +0000 (10:04 +0200)
commit888d5e9804bb401f3531b700cc93da0bdf8496bf
tree350247ba326effad172afdc439be07ec7cf8a377
parentd0164ee20d98847d3c777a0ae90e678e7ac1e416
KVM: s390: use pid of cpu thread for sampling tagging

Right now we use the address of the sie control block as tag for
the sampling data. This is hard to get for users. Let's just use
the PID of the cpu thread to mark the hardware samples.

Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/entry.S
arch/s390/kernel/perf_cpum_sf.c