[PATCH 23/32] perf tools: Fix report -F mispredict for data without branch info

2014-10-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa The branch field sorting code assumes hist_entry::branch_info is allocated, which is wrong and following perf session ends up with report segfault. $ perf record ls $ perf report -F mispredict perf: Segmentation fault Checking that hist_entry::branch_info is valid and

[PATCH 23/32] perf tools: Fix report -F mispredict for data without branch info

2014-10-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@kernel.org The branch field sorting code assumes hist_entry::branch_info is allocated, which is wrong and following perf session ends up with report segfault. $ perf record ls $ perf report -F mispredict perf: Segmentation fault Checking that hist_entry::branch_info