[PATCH 2/6] perf report: Caculate and return the branch counting in callchain

2016-10-18 Thread Jin Yao
Create some branch counters in per callchain list entry. Each counter is for a branch flag. For example, predicted_count counts all the *predicted* branches. The counters get updated by processing the callchain cursor nodes. It also provides functions to retrieve or print the values of counters

[PATCH 2/6] perf report: Caculate and return the branch counting in callchain

2016-10-18 Thread Jin Yao
Create some branch counters in per callchain list entry. Each counter is for a branch flag. For example, predicted_count counts all the *predicted* branches. The counters get updated by processing the callchain cursor nodes. It also provides functions to retrieve or print the values of counters