perf top: Add branch annotation code to top
authorAndi Kleen <ak@linux.intel.com>
Sat, 18 Jul 2015 15:24:52 +0000 (08:24 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 6 Aug 2015 19:39:22 +0000 (16:39 -0300)
commita18b027efe1a2a502d98a8d0ea0391a72bf3f696
treefc538f8bc5ecd0c89473fb0b234c2aa2890ae6dc
parentf8f4aaead579c947fb8fc051c9d242037025caf3
perf top: Add branch annotation code to top

Now that we can process branch data in annotate it makes sense to
support enabling branch recording from top too. Most of the code needed
for this is already in shared code with report. But we need to add:

- The option parsing code (using shared code from the previous patch)
- Document the options
- Set up the IPC/cycles accounting state in the top session
- Call the accounting code in the hist iter callback

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1437233094-12844-8-git-send-email-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-top.txt
tools/perf/builtin-top.c
This page took 0.025301 seconds and 5 git commands to generate.