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 <a...@linux.intel.com> > Cc: Arnaldo Carvalho de Melo <a...@redhat.com> > Cc: Corey Ashford <cjash...@linux.vnet.ibm.com> > Cc: David Ahern <dsah...@gmail.com> > Cc: Frederic Weisbecker <fweis...@gmail.com> > Cc: Ingo Molnar <mi...@kernel.org> > Cc: Namhyung Kim <namhy...@kernel.org> > Cc: Paul Mackerras <pau...@samba.org> > Cc: Peter Zijlstra <a.p.zijls...@chello.nl> > Cc: Stephane Eranian <eran...@google.com> > Signed-off-by: Jiri Olsa <jo...@kernel.org> > --- > 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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/