Skip to content

perf annotate: Display multiple events on the left side of annotate view

Jin Yao lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4perf annotate: create a new hists to manage multiple events samplestools/perf/builtin-annotate.c tools/perf/util/annotate.c tools/perf/util/annotate.h +2 more+89 -1710 replies
2/4perf annotate: Display multiple events for stdio modetools/perf/builtin-annotate.c tools/perf/builtin-top.c tools/perf/util/annotate.c +1 more+145 -450 replies
3/4perf annotate: Display multiple events for tui modetools/perf/ui/browsers/annotate.c tools/perf/ui/browsers/hists.c tools/perf/util/annotate.h +1 more+45 -200 replies
4/4perf annotate: Display multiple events for gtk modetools/perf/ui/gtk/annotate.c+22 -130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/4] perf annotate: Display multiple events on the left side of annotate view

perf record -e cycles,branches ...
perf annotate main --stdio

The result only shows cycles. It should show both cycles and branches on the left side of annotate view. It works with "--group", but need this to work even without groups.

The patch series supports to display multiple events on the left side of annotate view for stdio, tui and gtk modes.

Jin Yao (4):
perf annotate: create a new hists to manage multiple events samples perf annotate: Display multiple events for stdio mode perf annotate: Display multiple events for tui mode
perf annotate: Display multiple events for gtk mode

 tools/perf/builtin-annotate.c     |  62 +++++++++----
 tools/perf/builtin-top.c          |   3 +-
 tools/perf/ui/browsers/annotate.c |  49 +++++++---
 tools/perf/ui/browsers/hists.c    |   2 +-
 tools/perf/ui/gtk/annotate.c      |  35 ++++---
 tools/perf/util/annotate.c        | 187 +++++++++++++++++++++++++++++---------
 tools/perf/util/annotate.h        |  16 +++-
 tools/perf/util/hist.h            |   8 +-
 tools/perf/util/sort.c            |  21 +++++
 tools/perf/util/sort.h            |  13 +++
 10 files changed, 301 insertions(+), 95 deletions(-)
Signature · 1 line
2.7.4