Anton Blanchard
7fbfc683f1
perf: Fix hypervisor sample reporting
...
cpumode bits are defined as such:
#define PERF_RECORD_MISC_KERNEL (1 << 0)
#define PERF_RECORD_MISC_USER (2 << 0)
#define PERF_RECORD_MISC_HYPERVISOR (3 << 0)
We need to compare against the complete value of cpumode,
otherwise hypervisor samples get incorrectly attributed as
userspace.
Signed-off-by: Anton Blanchard <anton@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: fweisbec@gmail.com
LKML-Reference: <20100209034304.GA3702@kryten>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2010-02-09 10:52:40 +01:00
..
2009-11-24 16:37:02 +01:00
2009-08-16 10:47:47 +02:00
2009-07-01 12:49:48 +02:00
2009-10-13 11:55:31 +02:00
2009-10-23 08:22:47 +02:00
2009-09-24 21:27:51 +02:00
2009-08-16 23:06:45 +02:00
2009-09-24 21:27:51 +02:00
2009-08-16 10:47:47 +02:00
2009-11-23 21:55:20 +01:00
2009-12-14 17:34:56 +01:00
2009-10-23 08:22:47 +02:00
2009-11-16 22:05:50 +01:00
2009-11-08 18:01:34 +01:00
2009-11-08 18:01:34 +01:00
2009-06-06 20:33:43 +02:00
2010-02-09 10:52:40 +01:00
2009-12-18 16:22:52 +01:00
2009-08-16 10:47:47 +02:00
2009-09-24 21:27:51 +02:00
2009-06-06 20:33:43 +02:00
2009-12-14 16:57:15 +01:00
2009-12-12 07:42:12 +01:00
2009-07-01 12:49:48 +02:00
2009-09-24 21:27:51 +02:00
2009-12-16 18:29:10 +01:00
2009-12-16 16:53:37 +01:00
2009-06-06 20:33:43 +02:00
2009-09-24 21:27:51 +02:00
2009-12-15 20:22:04 +01:00
2009-06-27 06:06:39 +02:00
2009-12-07 08:09:29 +01:00
2009-10-15 11:35:23 +02:00
2009-12-10 08:30:28 +01:00
2009-09-24 21:27:51 +02:00
2009-08-16 10:47:47 +02:00
2009-10-16 10:34:28 +02:00
2009-12-17 09:42:44 +01:00
2009-12-15 20:22:05 +01:00
2009-12-15 20:22:01 +01:00
2009-12-17 08:06:41 +01:00
2009-08-04 11:09:56 +02:00
2009-09-24 21:27:51 +02:00
2009-08-16 10:47:47 +02:00
2009-09-24 21:27:51 +02:00
2009-12-16 08:53:50 +01:00
2009-12-16 08:53:50 +01:00
2009-06-06 20:33:43 +02:00
2009-09-24 21:27:51 +02:00
2009-12-16 16:53:37 +01:00
2009-12-16 16:53:37 +01:00
2009-07-01 12:49:48 +02:00
2009-09-24 21:27:51 +02:00
2009-12-15 20:22:03 +01:00
2009-12-15 20:22:03 +01:00
2009-12-15 20:22:01 +01:00
2009-12-15 20:22:02 +01:00
2009-10-20 03:39:21 +02:00
2009-09-24 21:27:51 +02:00
2009-12-16 08:53:50 +01:00
2009-12-16 08:53:50 +01:00
2009-12-14 16:57:17 +01:00
2009-12-14 16:57:17 +01:00
2009-11-21 17:45:59 +01:00
2009-12-10 08:30:26 +01:00
2009-12-15 10:31:32 +01:00
2009-12-07 06:31:37 +01:00
2009-12-06 18:15:02 +01:00
2009-12-15 10:31:31 +01:00
2009-09-24 21:27:51 +02:00
2009-06-07 17:31:52 +02:00
2009-11-24 16:37:03 +01:00
2009-08-16 10:47:47 +02:00
2009-09-24 21:27:51 +02:00
2009-11-24 16:37:03 +01:00