perf report: Add support for event group view (v3)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest20 patches 10 repliesIn review
v2 -> v3 from the cover letter
* drop patch 1 since it's merged into acme/perf/core
* cherry-pick Jiri's hpp changes
* add missing bswap_32 on reading nr_groups (Jiri)
* remove perf_evlist__recalc_nr_groups() in favor of list_is_last (Jiri)
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/20 | perf hists: Add struct hists pointer to struct hist_entrytools/ tools/ | +3 | 1 reply | |
| 2/20 | perf diff: Refactor diff displacement possition infotools/ tools/ tools/ +4 more | +44 | 1 reply | |
| 3/20 | perf hists: Separate overhead and baseline columnstools/ tools/ tools/ | +58 | 1 reply | |
| 4/20 | perf tools: Removing hists pair argument from output pathtools/ tools/ tools/ +3 more | +13 | 1 reply | |
| 5/20 | perf tool: Add hpp interface to enable/disable hpp columntools/ tools/ tools/ +4 more | +29 | 1 reply | |
| 6/20 | perf diff: Removing the total_period argument from output codetools/ tools/ tools/ +2 more | +35 | 1 reply | |
| 7/20 | perf hists: Introduce struct he_stattools/ tools/ tools/ +3 more | +59 | 1 reply | |
| 8/20 | perf hists: Move he->stat.nr_events initialization to a templatetools/ | +3 | 1 reply | |
| 9/20 | perf hists: Add more helpers for hist entry stattools/ | +18 | 1 reply | |
| 10/20 | perf tools: Keep group informationtools/ tools/ tools/ +3 more | +31 | 0 replies | |
| 11/20 | perf header: Add HEADER_GROUP_DESC featuretools/ tools/ tools/ | +157 | 0 replies | |
| 11/20 | perf header: Add HEADER_GROUP_DESC featuretools/ tools/ tools/ | +157 | 0 replies | |
| 12/20 | perf hists: Collapse group hist_entries to a leadertools/ tools/ tools/ +2 more | +112 | 0 replies | |
| 13/20 | perf hists: Maintain total periods of group members in the leadertools/ tools/ | +26 | 0 replies | |
| 14/20 | perf report: Make another loop for output resortingtools/ | +5 | 0 replies | |
| 15/20 | perf ui/hist: Add support for event group viewtools/ tools/ | +63 | 0 replies | |
| 16/20 | perf ui/browser: Add support for event group viewtools/ tools/ | +35 | 0 replies | |
| 17/20 | perf ui/gtk: Add support for event group viewtools/ | +46 | 0 replies | |
| 18/20 | perf report: Bypass non-leader events when event group is enabledtools/ tools/ tools/ | +41 | 0 replies | |
| 19/20 | perf report: Show group description when event group is enabledtools/ tools/ tools/ +2 more | +93 | 0 replies | |
| 20/20 | perf report: Add --group optiontools/ | +2 | 0 replies |
Reviews trailers per patch
None of the 21 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jiri Olsa |
|---|---|
| Series | A-b |
| 1/20 | |
| 2/20 | |
| 3/20 | |
| 4/20 | |
| 5/20 | |
| 6/20 | |
| 7/20 | |
| 8/20 | |
| 9/20 | |
| 10/20 | |
| 11/20 | |
| 11/20 | |
| 12/20 | |
| 13/20 | |
| 14/20 | |
| 15/20 | |
| 16/20 | |
| 17/20 | |
| 18/20 | |
| 19/20 | |
| 20/20 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/20] perf report: Add support for event group view (v3)
Hi,
This is my v3 of event group view support.
For basic idea and usage example, please see my original post [1].
I rebased the series on top of selected hpp changes from Jiri's diff patchset [2] since it contains cleanups and improves that can be used in this series too.
You can also get it via my tree at:
git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git perf/group-v3
Any comments are welcome, thanks,
Namhyung
v2 -> v3:
* drop patch 1 since it's merged into acme/perf/core
* cherry-pick Jiri's hpp changes
* add missing bswap_32 on reading nr_groups (Jiri)
* remove perf_evlist__recalc_nr_groups() in favor of list_is_last (Jiri)
v1 -> v2:
* save group relation to header (Jiri)
[1] https://lkml.org/lkml/2012/7/24/81
[2] https://lkml.org/lkml/2012/9/27/254
Jiri Olsa (6):
perf hists: Add struct hists pointer to struct hist_entry perf diff: Refactor diff displacement possition info perf hists: Separate overhead and baseline columns perf tools: Removing hists pair argument from output path perf tool: Add hpp interface to enable/disable hpp column perf diff: Removing the total_period argument from output code
Namhyung Kim (14):
perf hists: Introduce struct he_stat
perf hists: Move he->stat.nr_events initialization to a template perf hists: Add more helpers for hist entry stat
perf tools: Keep group information
perf header: Add HEADER_GROUP_DESC feature
perf hists: Collapse group hist_entries to a leader perf hists: Maintain total periods of group members in the leader perf report: Make another loop for output resorting perf ui/hist: Add support for event group view
perf ui/browser: Add support for event group view
perf ui/gtk: Add support for event group view
perf report: Bypass non-leader events when event group is enabled perf report: Show group description when event group is enabled perf report: Add --group option
tools/perf/builtin-diff.c | 68 ++++++++++---- tools/perf/builtin-record.c | 3 + tools/perf/builtin-report.c | 33 ++++++- tools/perf/builtin-top.c | 2 +- tools/perf/ui/browsers/hists.c | 115 +++++++++++++++++++--- tools/perf/ui/gtk/browser.c | 74 ++++++++++++--- tools/perf/ui/hist.c | 204 +++++++++++++++++++++++++++++----------- tools/perf/ui/setup.c | 2 +- tools/perf/ui/stdio/hist.c | 47 ++++----- tools/perf/util/evlist.c | 10 +- tools/perf/util/evlist.h | 1 + tools/perf/util/evsel.c | 25 +++++ tools/perf/util/evsel.h | 23 +++++ tools/perf/util/header.c | 152 ++++++++++++++++++++++++++++++ tools/perf/util/header.h | 2 + tools/perf/util/hist.c | 195 ++++++++++++++++++++++++++++++++------ tools/perf/util/hist.h | 12 +-- tools/perf/util/parse-events.c | 1 + tools/perf/util/parse-events.h | 1 + tools/perf/util/parse-events.y | 10 ++ tools/perf/util/sort.h | 20 ++-- tools/perf/util/symbol.c | 4 + tools/perf/util/symbol.h | 3 +- 23 files changed, 826 insertions(+), 181 deletions(-)
Signature · 1 line
1.7.9.2