Messages in this thread | | | From | Jiri Olsa <> | Subject | [PATCH 0/9] perf stat: Separate shadow counters code | Date | Tue, 2 Jun 2015 00:59:54 +0200 |
| |
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.
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 tools: Add nameid value into evsel object perf stat: Replace transaction event check with nameid 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 | 498 ++----------------------------------------------------------------------- tools/perf/util/Build | 1 + tools/perf/util/evsel.c | 26 ++++ tools/perf/util/evsel.h | 15 +++ tools/perf/util/parse-events.c | 2 +- tools/perf/util/stat-shadow.c | 436 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ tools/perf/util/stat.h | 18 +++ 7 files changed, 507 insertions(+), 489 deletions(-) create mode 100644 tools/perf/util/stat-shadow.c
| |