]> 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)
commit38846cbcfa7454355f162fcb31617ecb8e457c72
treefc538f8bc5ecd0c89473fb0b234c2aa2890ae6dc
parent4b805a278c34fc9948d0d4958c953f9e2bdc1d9e
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