linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] perf: callchain-specific annotation
@ 2017-04-17 22:55 Alexis Berlemont
  2017-04-17 22:55 ` [PATCH 1/3] perf annotate: implement per-callchain annotation histogram Alexis Berlemont
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Alexis Berlemont @ 2017-04-17 22:55 UTC (permalink / raw)
  To: linux-kernel; +Cc: Alexis Berlemont, peterz, mingo, acme, alexander.shishkin

Hi,

These patches are a proposal to fulfill the following point of perf's TODO list
(https://perf.wiki.kernel.org/index.php/Todo):

* What I want is that if I am on bar*(), it annotates bar*(), no samples just
  the call site (obtained from the callchain) dissassembly. This is useful
  because in many cases there maybe multiple call sites within a function and
  there maybe inlines in between. Hard to track down if you cannot figure out
  the surrounding addresses of the call site. (Request made by Stephane
  Eranian).

These patches are still at an early stage:
* Per-callchain annotation is only available in perf-report;
* Tests were not performed on real-world applications but on small basic ones.

Alexis.


Alexis Berlemont (3):
  perf annotate: implement per-callchain annotation histogram
  perf hists browser: add callchain-specific annotation
  perf report: fill per-callchain symbol annotation histograms

 tools/perf/builtin-report.c    |   8 ++
 tools/perf/ui/browsers/hists.c | 188 ++++++++++++++++++++++++-
 tools/perf/util/annotate.c     | 308 ++++++++++++++++++++++++++++++++++++++++-
 tools/perf/util/annotate.h     |  19 +++
 4 files changed, 517 insertions(+), 6 deletions(-)

--
2.12.2

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-04-17 23:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-17 22:55 [PATCH 0/3] perf: callchain-specific annotation Alexis Berlemont
2017-04-17 22:55 ` [PATCH 1/3] perf annotate: implement per-callchain annotation histogram Alexis Berlemont
2017-04-17 22:55 ` [PATCH 2/3] perf hists browser: add callchain-specific annotation Alexis Berlemont
2017-04-17 22:55 ` [PATCH 3/3] perf report: fill per-callchain symbol annotation histograms Alexis Berlemont

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).