Restructure perf list and add json output
Status from this message: Applied the patch with a few fixes and added this to the last cset:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest10 patches 15 repliesApplied
- v29 patches 0 repliesSuperseded
- v19 patches 14 repliesSuperseded
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | perf pmu: Remove is_hybrid membertools/ tools/ tools/ +2 more | +6 | 0 replies | |
| 2/10 | perf pmu: Add documentationtools/ tools/ | +132 | 0 replies | |
| 3/10 | tools lib api fs tracing_path: Add scandir alphasorttools/ tools/ | +17 | 0 replies | |
| 4/10 | perf tracepoint: Sort events in iteratortools/ | +37 | 0 replies | |
| 5/10 | perf list: Generalize limiting to a PMU nametools/ tools/ tools/ +1 more | +18 | 0 replies | |
| 6/10 | perf list: Simplify cache event printingtools/ | +27 | 1 reply | |
| 7/10 | perf list: Simplify symbol event printingtools/ | +21 | 0 replies | |
| 8/10 | perf pmu: Restructure print_pmu_eventstools/ | +110 | 0 replies | |
| 9/10 | perf list: Reorganize to use callbackstools/ tools/ tools/ +4 more | +621 | 2 replies | |
| 10/10 | perf list: Add json output optiontools/ tools/ | +240 | 12 replies |
Reviews trailers per patch
None of the 10 patches has a Reviewed-by or Acked-by.
| Patch | Arnaldo Carvalho de Melo |
|---|---|
| 1/10 | |
| 2/10 | |
| 3/10 | |
| 4/10 | |
| 5/10 | |
| 6/10 | |
| 7/10 | |
| 8/10 | |
| 9/10 | |
| 10/10 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 00/10] Restructure perf list and add json output
Restructure perf list so that it uses callbacks to print events and metrics. Use the callbacks to implement json output. In the process add documentation to pmu.h, avoid some sorting of events, fix some command line and output bugs.
v3. Removes is_hybrid from perf_pmu as suggested by Kan Liang.
ScaleUnit is added to the json output as suggested by Weilin Wang. Some comments are also improved.
v2. Address feedback from Adrian Hunter and make kernel-doc work.
Ian Rogers (10):
perf pmu: Remove is_hybrid member
perf pmu: Add documentation
tools lib api fs tracing_path: Add scandir alphasort perf tracepoint: Sort events in iterator perf list: Generalize limiting to a PMU name perf list: Simplify cache event printing perf list: Simplify symbol event printing perf pmu: Restructure print_pmu_events
perf list: Reorganize to use callbacks
perf list: Add json output option
tools/lib/api/fs/tracing_path.c | 16 + tools/lib/api/fs/tracing_path.h | 1 + tools/perf/Documentation/perf-list.txt | 10 +- tools/perf/builtin-list.c | 525 +++++++++++++++++--- tools/perf/util/evsel.c | 5 +- tools/perf/util/evsel.h | 2 +- tools/perf/util/metricgroup.c | 242 +++------- tools/perf/util/metricgroup.h | 4 +- tools/perf/util/pmu.c | 288 ++++++----- tools/perf/util/pmu.h | 128 ++++- tools/perf/util/print-events.c | 638 ++++++++++--------------- tools/perf/util/print-events.h | 42 +- tools/perf/util/stat.c | 11 +- 13 files changed, 1102 insertions(+), 810 deletions(-)
Signature · 1 line
2.38.1.431.g37b22c650d-goog