[PATCH 0/9] perf stat: Separate shadow counters code

From: Jiri Olsa
Date: Mon Jun 01 2015 - 19:00:17 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/