diff options
author | Changbin Du <changbin.du@intel.com> | 2017-03-13 16:31:48 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-22 09:17:38 +0100 |
commit | 56eac6842374eea81ce30147124cc005d491d722 (patch) | |
tree | 6e3ef328bf2d5c79b64225377f393b333fa3269c /arch/x86/include/asm/reboot.h | |
parent | 45142b2857789947a5f3d0e5fdfbb93ecac9eaf0 (diff) |
perf sort: Fix segfault with basic block 'cycles' sort dimension
[ Upstream commit 4b0b3aa6a2756e6115fdf275c521e4552a7082f3 ]
Skip the sample which doesn't have branch_info to avoid segmentation
fault:
The fault can be reproduced by:
perf record -a
perf report -F cycles
Signed-off-by: Changbin Du <changbin.du@intel.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Fixes: 0e332f033a82 ("perf tools: Add support for cycles, weight branch_info field")
Link: http://lkml.kernel.org/r/20170313083148.23568-1-changbin.du@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/include/asm/reboot.h')
0 files changed, 0 insertions, 0 deletions