Skip to content

perf report: Support sorting by a given event in group

Jin Yao lkml 5 versions – Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest3 patches 8 repliesApplied
  2. v43 patches 4 repliesSuperseded
  3. v33 patches 4 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v23 patches4 repliesSuperseded
v12 patches2 repliesSuperseded

Changes in v7 from the cover letter

---
v6 was posted two months ago and all comments were fixed.

Patches in v7 Applied

#Subject and filesSizeRepliesApplied
1/3perf report: Change sort order by a specified event in grouptools/perf/Documentation/perf-report.txt tools/perf/builtin-report.c tools/perf/ui/hist.c +1 more+105 -152 replies
2/3perf report: Support a new key to reload the browsertools/perf/builtin-report.c tools/perf/ui/browsers/hists.c tools/perf/ui/keysyms.h +1 more+6 -32 replies
3/3perf report: support hotkey to let user select any event for sortingtools/perf/ui/browsers/hists.c+27 -10 replies

Reviews trailers per patch

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

Read the v7 thread

Cover letter [PATCH v7 0/3] perf report: Support sorting by a given event in group

When performing "perf report --group", it shows the event group information together. By default, the output is sorted by the first event in group. It would be nice for user to select any event for sorting.

The patch 1/3 introduces a new option "--group-sort-idx" to sort the output by the event at the index n in event group.

The patch 2/3 creates a new key K_RELOAD to reload the browser.

The patch 3/3 supports hotkeys in browser to select a event to sort.

v7:
---
v6 was posted two months ago and all comments were fixed.

v7 just rebases to perf/core, no other change.

Jin Yao (3):
perf report: Change sort order by a specified event in group perf report: Support a new key to reload the browser
perf report: support hotkey to let user select any event for sorting

 tools/perf/Documentation/perf-report.txt |   5 ++
 tools/perf/builtin-report.c              |  16 +++-
 tools/perf/ui/browsers/hists.c           |  29 ++++++-
 tools/perf/ui/hist.c                     | 104 +++++++++++++++++++----
 tools/perf/ui/keysyms.h                  |   1 +
 tools/perf/util/hist.h                   |   1 +
 tools/perf/util/symbol_conf.h            |   1 +
 7 files changed, 138 insertions(+), 19 deletions(-)
Signature · 1 line
2.17.1