[PATCH 0/9 v2] perf: consolidate all the open counters loops

From: David Ahern
Date: Mon Oct 29 2012 - 12:31:48 EST


This patch set consolidates all of the open counters loops into a
single common one.

Rebased to latest perf/core. Added more hooks to ui stubs file.

David Ahern (9):
perf python: add ui stubs file
perf top: make use of perf_record_opts
perf evlist: introduce open counters method
perf top: use the new perf_evlist__open_counters method
perf record: use the new perf_evlist__open_counters method
perf stat: move user options to perf_record_opts
perf evlist: add stat unique code to open_counters method
perf stat: move to perf_evlist__open_counters
perf evsel: remove perf_evsel__open_per_cpu

tools/perf/builtin-record.c | 116 +----------------
tools/perf/builtin-stat.c | 246 ++++++++++++++++--------------------
tools/perf/builtin-top.c | 146 ++++++---------------
tools/perf/util/evlist.c | 143 ++++++++++++++++++++-
tools/perf/util/evlist.h | 4 +
tools/perf/util/evsel.c | 6 -
tools/perf/util/evsel.h | 2 -
tools/perf/util/python-ext-sources | 1 +
tools/perf/util/python_stubs.c | 54 ++++++++
tools/perf/util/top.c | 20 +--
tools/perf/util/top.h | 9 +-
11 files changed, 366 insertions(+), 381 deletions(-)
create mode 100644 tools/perf/util/python_stubs.c

--
1.7.10.1

--
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/