[lkml]   [2015]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCHv2 0/9] perf stat: Separate shadow counters code
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:

I tested on Haswel with limited set of transaction events,
but all seemed ok.

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

 \ /
  Last update: 2015-06-03 16:41    [W:0.138 / U:1.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site