linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] perf: consolidate all the open counters loops
@ 2012-10-11  4:25 David Ahern
  2012-10-11  4:25 ` [PATCH 1/9] perf python: add ui stubs file David Ahern
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: David Ahern @ 2012-10-11  4:25 UTC (permalink / raw)
  To: acme, linux-kernel; +Cc: mingo, peterz, fweisbec, David Ahern

ACME was a litle slow today (ACME Component Mgmt Env that is) so managed
to add perf-stat to the list and do a decent amount of testing. This
consolidates all of the open counters loops into a single common one.

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        |  109 +---------------
 tools/perf/builtin-stat.c          |  240 ++++++++++++++++--------------------
 tools/perf/builtin-top.c           |  142 ++++++---------------
 tools/perf/util/evlist.c           |  139 ++++++++++++++++++++-
 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/top.c              |   20 +--
 tools/perf/util/top.h              |    9 +-
 10 files changed, 303 insertions(+), 369 deletions(-)

-- 
1.7.10.1


^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PATCH 0/9 v2] perf: consolidate all the open counters loops
@ 2012-10-29 16:31 David Ahern
  2012-10-29 16:31 ` [PATCH 9/9] perf evsel: remove perf_evsel__open_per_cpu David Ahern
  0 siblings, 1 reply; 11+ messages in thread
From: David Ahern @ 2012-10-29 16:31 UTC (permalink / raw)
  To: acme, linux-kernel; +Cc: mingo, peterz, fweisbec, David Ahern

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-10-29 16:33 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-11  4:25 [PATCH 0/9] perf: consolidate all the open counters loops David Ahern
2012-10-11  4:25 ` [PATCH 1/9] perf python: add ui stubs file David Ahern
2012-10-11  4:25 ` [PATCH 2/9] perf top: make use of perf_record_opts David Ahern
2012-10-11  4:25 ` [PATCH 3/9] perf evlist: introduce open counters method David Ahern
2012-10-11  4:25 ` [PATCH 4/9] perf top: use the new perf_evlist__open_counters method David Ahern
2012-10-11  4:25 ` [PATCH 5/9] perf record: " David Ahern
2012-10-11  4:25 ` [PATCH 6/9] perf stat: move user options to perf_record_opts David Ahern
2012-10-11  4:25 ` [PATCH 7/9] perf evlist: add stat unique code to open_counters method David Ahern
2012-10-11  4:25 ` [PATCH 8/9] perf stat: move to perf_evlist__open_counters David Ahern
2012-10-11  4:25 ` [PATCH 9/9] perf evsel: remove perf_evsel__open_per_cpu David Ahern
2012-10-29 16:31 [PATCH 0/9 v2] perf: consolidate all the open counters loops David Ahern
2012-10-29 16:31 ` [PATCH 9/9] perf evsel: remove perf_evsel__open_per_cpu David Ahern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).