]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdf347579c0b8fa98f4fb7ce188bcf2f7ec77605e
treefc538f8bc5ecd0c89473fb0b234c2aa2890ae6dc
parentddfb380d0bb27a99d4cca55c3c449dd27ce16727
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