aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/ui
diff options
context:
space:
mode:
authorJin Yao <yao.jin@linux.intel.com>2016-10-31 09:19:51 +0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-11-14 13:25:58 -0300
commit3dd029ef94018dfa499c05778dd67d03c00b637c (patch)
treefd9bb6986c7adfe58ba6d5a453f7e3fb6347a15e /tools/perf/ui
parentf9a7be7c024319423623f58f5233234cad714e6b (diff)
perf report: Calculate and return the branch flag counting
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 in callchain list. Besides the counting for branch flags, it also counts and returns the average number of iterations. Signed-off-by: Yao Jin <yao.jin@linux.intel.com> Acked-by: Andi Kleen <ak@linux.intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kan Liang <kan.liang@intel.com> Cc: Linux-kernel@vger.kernel.org Cc: Yao Jin <yao.jin@linux.intel.com> Link: http://lkml.kernel.org/r/1477876794-30749-4-git-send-email-yao.jin@linux.intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/ui')
0 files changed, 0 insertions, 0 deletions