diff options
author | Stephane Eranian <[email protected]> | 2015-12-03 23:33:17 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-01-06 11:15:33 +0100 |
commit | 6fc2e83077b05a061afe9b24f2fdff7a0434eb67 (patch) | |
tree | 6445f7732002cfef833745d612f0d05f300a9b35 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 61b87cae6361ea6af161c1ffa549898892707b19 (diff) |
perf/x86: Fix LBR related crashes on Intel Atom
This patches fixes the LBR kernel crashes on Intel Atom.
The kernel was assuming that if the CPU supports 64-bit format
LBR, then it has an LBR_SELECT MSR. Atom uses 64-bit LBR format
but does not have LBR_SELECT. That was causing NULL pointer
dereferences in a couple of places.
Signed-off-by: Stephane Eranian <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vince Weaver <[email protected]>
Cc: [email protected]
Fixes: 96f3eda67fcf ("perf/x86/intel: Fix static checker warning in lbr enable")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions