commit | 7abb840b496f834a71a8943bb189683da320f047 | [log] [tgz] |
---|---|---|
author | Michael Neuling <mikey@neuling.org> | Wed Oct 14 19:32:15 2009 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Tue Oct 27 16:42:38 2009 +1100 |
tree | 6444e23443d1ddd9c5d7aa7198e6d8c401dda0c0 | |
parent | 964fe080d94db82a3268443e9b9ece4c60246414 [diff] |
powerpc/perf_events: Fix priority of MSR HV vs PR bits The architecture defines that if MSR PR is set we are in problem state irrespective of the HV bit. This fixes perf events to reflect this. Also, on bare metal systems, samples taken in Linux will now be reported as kernel rather than hypervisor. Signed-off-by: Michael Neuling <mikey@neuling.org> CC: paulus@samba.org Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>