perf stat: Separate shadow counters code
Status from this message: Thanks, applied.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 8 repliesApplied
- v19 patches 3 repliesSuperseded
Changes in v2 from the cover letter
- move evsel id into 'struct perf_stat'
and change the id functions namespace
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | perf stat: Add id into perf_stat structtools/ tools/ tools/ | +52 | 3 replies | |
| 2/9 | perf stat: Replace transaction event possition check with id checktools/ tools/ tools/ | +16 | 0 replies | |
| 3/9 | perf stat: Remove setup_events functiontools/ | +7 | 0 replies | |
| 4/9 | perf stat: Remove transaction_run from shadow update/print codetools/ | +7 | 3 replies | |
| 5/9 | perf stat: Introduce reset_shadow_stats functiontools/ | +13 | 0 replies | |
| 6/9 | perf stat: Introduce print_shadow_stats functiontools/ | +39 | 0 replies | |
| 7/9 | perf stat: Add output file argument to print_shadow_stats functiontools/ | +56 | 0 replies | |
| 8/9 | perf stat: Add aggr_mode argument to print_shadow_stats functiontools/ | +4 | 0 replies | |
| 9/9 | perf stat: Move shadow stat counters into separate objecttools/ tools/ tools/ +1 more | +455 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCHv2 0/9] perf stat: Separate shadow counters code
hi,
sending cleanup/move of shadow counters. I need it for my other changes of stat scripting, but I think it can stand alone as a cleanup.
v2 changes:
- move evsel id into 'struct perf_stat'
and change the id functions namespace
Also in:
git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
perf/shadow
I tested on Haswel with limited set of transaction events, but all seemed ok.
thanks,
jirka
---
Jiri Olsa (9):
perf stat: Add id into perf_stat struct
perf stat: Replace transaction event possition check with id check perf stat: Remove setup_events function
perf stat: Remove transaction_run from shadow update/print code perf stat: Introduce reset_shadow_stats function
perf stat: Introduce print_shadow_stats function
perf stat: Add output file argument to print_shadow_stats function perf stat: Add aggr_mode argument to print_shadow_stats function perf stat: Move shadow stat counters into separate object
tools/perf/builtin-stat.c | 506 ++------------------------------------------------------------------------ tools/perf/util/Build | 1 + tools/perf/util/stat-shadow.c | 434 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ tools/perf/util/stat.c | 35 +++++- tools/perf/util/stat.h | 40 ++++++ 5 files changed, 522 insertions(+), 494 deletions(-) create mode 100644 tools/perf/util/stat-shadow.c