lkml.org 
[lkml]   [2020]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v7 0/3] perf report: Support sorting by a given event in group
Date
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(-)

--
2.17.1

\
 
 \ /
  Last update: 2020-02-20 02:37    [W:0.121 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site