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

From: Jiri Olsa
Date: Fri Nov 21 2014 - 04:35:46 EST


On Fri, Nov 21, 2014 at 10:31:04AM +0100, Jiri Olsa wrote:
> 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

available in:
git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
perf/core_stat_cqm

jirka

>
>
> Cc: Andi Kleen <ak@xxxxxxxxxxxxxxx>
> Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
> Cc: Corey Ashford <cjashfor@xxxxxxxxxxxxxxxxxx>
> Cc: David Ahern <dsahern@xxxxxxxxx>
> Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
> Cc: Paul Mackerras <paulus@xxxxxxxxx>
> Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
> Cc: Stephane Eranian <eranian@xxxxxxxxxx>
> Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx>
> ---
> 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(-)
--
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/