aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorChangbin Du <[email protected]>2017-03-13 08:31:48 +0000
committerArnaldo Carvalho de Melo <[email protected]>2017-03-13 14:41:20 +0000
commit4b0b3aa6a2756e6115fdf275c521e4552a7082f3 (patch)
treea8180bc7290f55bde9cf81d7e24b94d7e32809e7 /tools/perf/builtin-annotate.c
parentperf tools: Ignore generated files pmu-events/{jevents,pmu-events.c} for git (diff)
downloadkernel-4b0b3aa6a2756e6115fdf275c521e4552a7082f3.tar.gz
kernel-4b0b3aa6a2756e6115fdf275c521e4552a7082f3.zip
perf sort: Fix segfault with basic block 'cycles' sort dimension
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 <[email protected]> Tested-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Peter Zijlstra <[email protected]> Fixes: 0e332f033a82 ("perf tools: Add support for cycles, weight branch_info field") Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions