lkml.org 
[lkml]   [2012]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/9] perf: consolidate all the open counters loops
Date
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



\
 
 \ /
  Last update: 2012-10-11 07:01    [W:0.050 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site