diff options
| author | Anton Blanchard <[email protected]> | 2010-02-09 03:43:05 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2010-02-09 09:52:40 +0000 |
| commit | 7fbfc683f1cc4051aa095ebe48d9d1e8b015682d (patch) | |
| tree | cfea1d40d29cf6c835cf75c1b1ab5a9228d088d4 /net/lapb/lapb_in.c | |
| parent | perf: Make bp_len type to u64 generic across the arch (diff) | |
| download | kernel-7fbfc683f1cc4051aa095ebe48d9d1e8b015682d.tar.gz kernel-7fbfc683f1cc4051aa095ebe48d9d1e8b015682d.zip | |
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 <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: [email protected]
LKML-Reference: <20100209034304.GA3702@kryten>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
