diff options
| author | Changbin Du <changbin.du@intel.com> | 2017-03-13 16:31:48 +0800 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-03-13 11:41:20 -0300 |
| commit | 4b0b3aa6a2756e6115fdf275c521e4552a7082f3 (patch) | |
| tree | a8180bc7290f55bde9cf81d7e24b94d7e32809e7 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | perf tools: Ignore generated files pmu-events/{jevents,pmu-events.c} for git (diff) | |
| download | linux-4b0b3aa6a2756e6115fdf275c521e4552a7082f3.tar.gz linux-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 <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>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
