Skip to content

RFC perf tools: Factor stat reading and CQM changes

Jiri Olsa lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest11 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11perf tools: Introduce perf_evsel__compute_deltas functiontools/perf/util/evsel.c tools/perf/util/evsel.h+7 -50 replies
2/11perf tools: Introduce perf_counts_values__scale functiontools/perf/util/evsel.c tools/perf/util/evsel.h+25 -250 replies
3/11perf tools: Introduce perf_evsel__read_cb functiontools/perf/util/evsel.c tools/perf/util/evsel.h+23 -00 replies
4/11perf stat: Use perf_evsel__read_cb in read_countertools/perf/builtin-stat.c+21 -63 replies
5/11perf stat: Make read_counter work over the thread dimensiontools/perf/builtin-stat.c+11 -40 replies
6/11perf stat: Use read_counter in read_counter_aggrtools/perf/builtin-stat.c+16 -20 replies
7/11perf tools: Remove perf_evsel__read interfacetools/perf/util/evsel.c tools/perf/util/evsel.h+0 -630 replies
8/11perf tools: Add per-pkg format file parsingtools/perf/util/evsel.h tools/perf/util/parse-events.c tools/perf/util/pmu.c +1 more+31 -00 replies
9/11perf tools: Add snapshot format file parsingtools/perf/util/evsel.h tools/perf/util/parse-events.c tools/perf/util/pmu.c +1 more+40 -110 replies
10/11perf stat: Add support for per-pkg counterstools/perf/builtin-stat.c tools/perf/util/evsel.h+50 -00 replies
11/11perf stat: Add support for snapshot counterstools/perf/builtin-stat.c+4 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 00/11] perf tools: Factor stat reading and CQM changes

hi,
this patchset factors Matt's userspace part of CQM patches:
http://marc.info/?l=linux-kernel&m=141156746730336&w=2

I needed to put counters reading into single place, which in the end turned out to be simplification of the stat command reading side.

any comments are welcome,
jirka

Cc Andi Kleen <[email protected]>
Cc Arnaldo Carvalho de Melo <[email protected]>
Cc Corey Ashford <[email protected]>
Cc David Ahern <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Stephane Eranian <[email protected]>

---
Jiri Olsa (10):
perf tools: Introduce perf_evsel__compute_deltas function perf tools: Introduce perf_counts_values__scale function perf tools: Introduce perf_evsel__read_cb function perf stat: Use perf_evsel__read_cb in read_counter perf stat: Make read_counter work over the thread dimension perf stat: Use read_counter in read_counter_aggr perf tools: Remove perf_evsel__read interface perf tools: Add snapshot format file parsing
perf stat: Add support for per-pkg counters
perf stat: Add support for snapshot counters

Matt Fleming (1):
perf tools: Add per-pkg format file parsing

 tools/perf/builtin-stat.c      | 105 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------
 tools/perf/util/evsel.c        | 100 +++++++++++++++++++++++++++------------------------------------------
 tools/perf/util/evsel.h        |  45 +++++++++++--------------------
 tools/perf/util/parse-events.c |   2 ++
 tools/perf/util/pmu.c          |  74 +++++++++++++++++++++++++++++++++++++++++++--------
 tools/perf/util/pmu.h          |   4 +++
 6 files changed, 220 insertions(+), 110 deletions(-)