[PATCH 09/31] perf, x86: Disable LBR recording for unknown LBR_FMT

2012-10-02 Thread Andi Kleen
From: Andi Kleen When the LBR format is unknown disable LBR recording. This prevents crashes when the LBR address is misdecoded and mis-sign extended. Signed-off-by: Andi Kleen --- arch/x86/kernel/cpu/perf_event_intel_lbr.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff

[PATCH 09/31] perf, x86: Disable LBR recording for unknown LBR_FMT

2012-10-02 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com When the LBR format is unknown disable LBR recording. This prevents crashes when the LBR address is misdecoded and mis-sign extended. Signed-off-by: Andi Kleen a...@linux.intel.com --- arch/x86/kernel/cpu/perf_event_intel_lbr.c |3 ++- 1 files changed,