aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorAndi Kleen <[email protected]>2015-07-18 08:24:46 -0700
committerArnaldo Carvalho de Melo <[email protected]>2015-08-06 16:29:45 -0300
commit0e332f033a8216fa03792fde69882f66500848c7 (patch)
treeb88becef22fec7eb369b5dec4ba58e57985fd4b5 /tools/perf/builtin-annotate.c
parent93df8a1ed6231727c5db94a80b1a6bd5ee67cec3 (diff)
perf tools: Add support for cycles, weight branch_info field
cycles is a new branch_info field available on some CPUs that indicates the time deltas between branches in the LBR. Add a sort key and output code for the cycles to allow to display the basic block cycles individually in perf report. We also pass in the cycles for weight when LBRs are processed, which allows to get global and local weight, to get an estimate of the total cost. And also print the cycles information for perf report -D. I also added printing for the previously missing LBR flags (mispredict etc.) Signed-off-by: Andi Kleen <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> 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