RFC perf tools: Introduce hists specific format entries
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest26 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/26 | perf tools: Factor output_resort from hists__output_resorttools/ | +15 | 0 replies | |
| 2/26 | perf tools: Introduce perf_evsel__output_resort functiontools/ tools/ tools/ +5 more | +23 | 0 replies | |
| 3/26 | perf tools: Add _idx fields into struct perf_hpp_fmttools/ tools/ | +15 | 0 replies | |
| 4/26 | perf tools: Use struct perf_hpp_fmt::idx in perf_hpp__reset_widthtools/ | +2 | 0 replies | |
| 5/26 | perf tools: Add equal method to perf_hpp_fmt structtools/ tools/ tools/ | +28 | 0 replies | |
| 6/26 | perf tools: Add hpp__equal callback functiontools/ | +16 | 0 replies | |
| 7/26 | perf tools: Make hpp setup function generictools/ | +8 | 0 replies | |
| 8/26 | perf report: Move ui initialization ahead of sort setuptools/ | +9 | 0 replies | |
| 9/26 | perf tools: Allocate output sort fieldtools/ tools/ | +47 | 0 replies | |
| 10/26 | perf tools: Remove perf_hpp__column_(disable|enable)tools/ tools/ | +0 | 0 replies | |
| 11/26 | perf tools: Properly release format fieldstools/ tools/ tools/ | +33 | 0 replies | |
| 12/26 | perf tools: Separate sort fields parsing into setup_sort_list functiontools/ | +22 | 0 replies | |
| 13/26 | perf tools: Separate output fields parsing into setup_output_list functiontools/ | +22 | 0 replies | |
| 14/26 | perf tools: Introduce struct perf_hpp_listtools/ tools/ | +16 | 3 replies | |
| 15/26 | perf tools: Introduce perf_hpp_list__init functiontools/ tools/ | +8 | 0 replies | |
| 16/26 | perf tools: Add perf_hpp_list register helperstools/ tools/ | +23 | 0 replies | |
| 17/26 | perf tools: Pass perf_hpp_list all the way through setup_sort_listtools/ | +19 | 5 replies | |
| 18/26 | perf tools: Pass perf_hpp_list all the way through setup_output_listtools/ | +18 | 0 replies | |
| 19/26 | perf tools: Introduce perf_hpp_list__for_each_format macrotools/ tools/ tools/ +3 more | +22 | 0 replies | |
| 20/26 | perf tools: Introduce perf_hpp_list__for_each_format_safe macrotools/ tools/ | +4 | 0 replies | |
| 21/26 | perf tools: Introduce perf_hpp_list__for_each_sort_list macrotools/ tools/ tools/ | +7 | 0 replies | |
| 22/26 | perf tools: Introduce perf_hpp_list__for_each_sort_list_safe macrotools/ tools/ | +3 | 0 replies | |
| 23/26 | perf tools: Add struct perf_hpp_list argument to helper functionstools/ tools/ tools/ | +17 | 0 replies | |
| 24/26 | perf tools: Add hpp_list into struct hists objecttools/ tools/ | +5 | 0 replies | |
| 25/26 | perf tools: Introduce hists__for_each_format macrotools/ tools/ tools/ +2 more | +16 | 0 replies | |
| 26/26 | perf tools: Introduce hists__for_each_sort_list macrotools/ tools/ | +9 | 0 replies |
Reviews trailers per patch
1 of 26 patches has a Reviewed-by or Acked-by.
| Patch | Namhyung Kim |
|---|---|
| 1/26 | |
| 2/26 | |
| 3/26 | |
| 4/26 | |
| 5/26 | |
| 6/26 | |
| 7/26 | |
| 8/26 | |
| 9/26 | |
| 10/26 | |
| 11/26 | |
| 12/26 | |
| 13/26 | |
| 14/26 | |
| 15/26 | |
| 16/26 | |
| 17/26 | A-b |
| 18/26 | |
| 19/26 | |
| 20/26 | |
| 21/26 | |
| 22/26 | |
| 23/26 | |
| 24/26 | |
| 25/26 | |
| 26/26 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC 00/26] perf tools: Introduce hists specific format entries
hi,
currently we have global format sort and output lists. This rfc patchset introduces hists object based format entries to allow the hist object to carry specific format entries.
This will allow to have distinguished hist objects displaying different stuff in output.
Also available in:
git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
perf/hists_fmt
thanks for comments,
jirka
---
Jiri Olsa (26):
perf tools: Factor output_resort from hists__output_resort perf tools: Introduce perf_evsel__output_resort function
perf tools: Add _idx fields into struct perf_hpp_fmt
perf tools: Use struct perf_hpp_fmt::idx in perf_hpp__reset_width perf tools: Add equal method to perf_hpp_fmt struct
perf tools: Add hpp__equal callback function
perf tools: Make hpp setup function generic
perf report: Move ui initialization ahead of sort setup
perf tools: Allocate output sort field
perf tools: Remove perf_hpp__column_(disable|enable)
perf tools: Properly release format fields
perf tools: Separate sort fields parsing into setup_sort_list function perf tools: Separate output fields parsing into setup_output_list function perf tools: Introduce struct perf_hpp_list
perf tools: Introduce perf_hpp_list__init function
perf tools: Add perf_hpp_list register helpers
perf tools: Pass perf_hpp_list all the way through setup_sort_list perf tools: Pass perf_hpp_list all the way through setup_output_list perf tools: Introduce perf_hpp_list__for_each_format macro perf tools: Introduce perf_hpp_list__for_each_format_safe macro perf tools: Introduce perf_hpp_list__for_each_sort_list macro perf tools: Introduce perf_hpp_list__for_each_sort_list_safe macro perf tools: Add struct perf_hpp_list argument to helper functions perf tools: Add hpp_list into struct hists object
perf tools: Introduce hists__for_each_format macro
perf tools: Introduce hists__for_each_sort_list macro
tools/perf/builtin-annotate.c | 2 +- tools/perf/builtin-report.c | 20 ++++----- tools/perf/builtin-top.c | 10 +++-- tools/perf/tests/hists_cumulate.c | 2 +- tools/perf/tests/hists_filter.c | 2 +- tools/perf/tests/hists_output.c | 10 ++--- tools/perf/ui/browsers/hists.c | 8 ++-- tools/perf/ui/gtk/hists.c | 6 +-- tools/perf/ui/hist.c | 170 +++++++++++++++++++++++++++++++++++++---------------------------------- tools/perf/ui/stdio/hist.c | 10 ++--- tools/perf/util/hist.c | 47 ++++++++++++++------ tools/perf/util/hist.h | 65 ++++++++++++++++++++-------- tools/perf/util/sort.c | 231 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------- 13 files changed, 359 insertions(+), 224 deletions(-)