public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL 00/25] perf/core fixes and improvements
@ 2011-11-28 23:14 Arnaldo Carvalho de Melo
  2011-11-28 23:14 ` [PATCH 01/25] perf tools: Eliminate duplicate code and use PATH_MAX consistently Arnaldo Carvalho de Melo
                   ` (24 more replies)
  0 siblings, 25 replies; 28+ messages in thread
From: Arnaldo Carvalho de Melo @ 2011-11-28 23:14 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: linux-kernel, Arnaldo Carvalho de Melo, David Ahern,
	Frederic Weisbecker, Mike Galbraith, Paul Mackerras,
	Peter Zijlstra, Stephane Eranian, arnaldo.melo

Hi Ingo,

        Please consider pulling from:

git://github.com/acmel/linux.git perf/core

	Mostly infrastructure improvements/refactorings to ease the development
of tracepoint based tools and to avoid having to create a perf.data file or
using pipes when wanting to produce and consume events directly like in a
strace reimplementation using these libraries.

	More is needed to make all tools use what has changed but what is
present in this patchset should illustrate the goals I'm pursuing.

Regards,

- Arnaldo

Arnaldo Carvalho de Melo (23):
  perf tools: Eliminate duplicate code and use PATH_MAX consistently
  perf tools: Simplify debugfs mountpoint handling code
  perf evlist: Introduce perf_evlist__add_attrs
  perf evlist: Introduce add_tracepoints method
  perf evsel: Introduce config attr method
  perf evlist: Introduce {prepare,start}_workload refactored from 'perf record'
  perf evlist: Handle default value for 'pages' on mmap method
  perf record: Move mmap_pages to perf_record_opts
  perf session: Move threads to struct machine
  perf record: Move 'group' to perf_event_ops
  perf ui progress: Fix divide by zero
  perf symbols: Add nr_events to symbol_conf
  perf evlist: Introduce id_hdr_size method out of perf_session
  perf event: perf_event_ops->attr() manipulates only an evlist
  perf session: Remove superfluous callchain_cursor member
  perf tools: Use evsel->attr.sample_type instead of session->sample_type
  perf report: Group options in a struct
  perf annotate: Group options in a struct
  perf tools: Pass tool context in the the perf_event_ops functions
  perf tools: Resolve machine earlier and pass it to perf_event_ops
  perf tools: Rename perf_event_ops to perf_tool
  perf top: Stop using globals for tool state
  perf tools: Save some loops using perf_evlist__id2evsel

David Ahern (2):
  perf tools: make -C consistent across commands (for cpu list arg)
  perf script: Add comm filtering option

 tools/perf/Documentation/perf-annotate.txt         |    2 +-
 tools/perf/Documentation/perf-report.txt           |    4 +-
 tools/perf/Documentation/perf-script.txt           |    7 +-
 tools/perf/Makefile                                |    1 +
 tools/perf/builtin-annotate.c                      |  133 +++---
 tools/perf/builtin-diff.c                          |   21 +-
 tools/perf/builtin-inject.c                        |  118 +++--
 tools/perf/builtin-kmem.c                          |   14 +-
 tools/perf/builtin-lock.c                          |   10 +-
 tools/perf/builtin-probe.c                         |    1 -
 tools/perf/builtin-record.c                        |  579 ++++++++------------
 tools/perf/builtin-report.c                        |  225 ++++----
 tools/perf/builtin-sched.c                         |  198 ++++----
 tools/perf/builtin-script.c                        |   50 ++-
 tools/perf/builtin-stat.c                          |   40 +--
 tools/perf/builtin-test.c                          |    3 +-
 tools/perf/builtin-timechart.c                     |   34 +-
 tools/perf/builtin-top.c                           |  540 +++++++++---------
 tools/perf/perf.c                                  |   33 +-
 tools/perf/perf.h                                  |   23 +
 tools/perf/util/annotate.c                         |    6 +-
 tools/perf/util/annotate.h                         |    5 +-
 tools/perf/util/build-id.c                         |   26 +-
 tools/perf/util/build-id.h                         |    2 +-
 tools/perf/util/callchain.h                        |    3 +
 tools/perf/util/cgroup.c                           |   15 +-
 tools/perf/util/debugfs.c                          |   35 +-
 tools/perf/util/debugfs.h                          |   31 +-
 tools/perf/util/event.c                            |  189 +++----
 tools/perf/util/event.h                            |   59 ++-
 tools/perf/util/evlist.c                           |  289 ++++++++++-
 tools/perf/util/evlist.h                           |   41 ++-
 tools/perf/util/evsel.c                            |   70 +++
 tools/perf/util/evsel.h                            |    8 +
 tools/perf/util/header.c                           |   75 ++--
 tools/perf/util/header.h                           |   45 +-
 tools/perf/util/hist.h                             |    3 +-
 tools/perf/util/map.c                              |    4 +
 tools/perf/util/map.h                              |   19 +
 tools/perf/util/parse-events.c                     |   28 +-
 tools/perf/util/parse-events.h                     |    1 -
 tools/perf/util/probe-finder.h                     |    1 -
 .../perf/util/scripting-engines/trace-event-perl.c |    4 +-
 .../util/scripting-engines/trace-event-python.c    |    4 +-
 tools/perf/util/session.c                          |  326 +++++++-----
 tools/perf/util/session.h                          |   62 +--
 tools/perf/util/setup.py                           |    3 +-
 tools/perf/util/symbol.h                           |    1 +
 tools/perf/util/thread.c                           |    6 +-
 tools/perf/util/thread.h                           |   14 +-
 tools/perf/util/tool.h                             |   50 ++
 tools/perf/util/top.h                              |   20 +-
 tools/perf/util/trace-event-info.c                 |   28 +-
 tools/perf/util/trace-event-scripting.c            |    2 +-
 tools/perf/util/trace-event.h                      |    8 +-
 tools/perf/util/ui/browsers/annotate.c             |   16 +-
 tools/perf/util/ui/browsers/hists.c                |    2 +-
 tools/perf/util/ui/progress.c                      |    3 +
 58 files changed, 1995 insertions(+), 1545 deletions(-)
 create mode 100644 tools/perf/util/tool.h

-- 
1.7.8.rc0.35.gee6df


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

end of thread, other threads:[~2011-11-29 11:52 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-28 23:14 [GIT PULL 00/25] perf/core fixes and improvements Arnaldo Carvalho de Melo
2011-11-28 23:14 ` [PATCH 01/25] perf tools: Eliminate duplicate code and use PATH_MAX consistently Arnaldo Carvalho de Melo
2011-11-28 23:14 ` [PATCH 02/25] perf tools: Simplify debugfs mountpoint handling code Arnaldo Carvalho de Melo
2011-11-28 23:14 ` [PATCH 03/25] perf evlist: Introduce perf_evlist__add_attrs Arnaldo Carvalho de Melo
2011-11-28 23:14 ` [PATCH 04/25] perf evlist: Introduce add_tracepoints method Arnaldo Carvalho de Melo
2011-11-28 23:14 ` [PATCH 05/25] perf evsel: Introduce config attr method Arnaldo Carvalho de Melo
2011-11-28 23:14 ` [PATCH 06/25] perf evlist: Introduce {prepare,start}_workload refactored from 'perf record' Arnaldo Carvalho de Melo
2011-11-28 23:14 ` [PATCH 07/25] perf evlist: Handle default value for 'pages' on mmap method Arnaldo Carvalho de Melo
2011-11-28 23:14 ` [PATCH 08/25] perf record: Move mmap_pages to perf_record_opts Arnaldo Carvalho de Melo
2011-11-28 23:14 ` [PATCH 09/25] perf session: Move threads to struct machine Arnaldo Carvalho de Melo
2011-11-28 23:14 ` [PATCH 10/25] perf record: Move 'group' to perf_event_ops Arnaldo Carvalho de Melo
2011-11-28 23:14 ` [PATCH 11/25] perf ui progress: Fix divide by zero Arnaldo Carvalho de Melo
2011-11-28 23:14 ` [PATCH 12/25] perf symbols: Add nr_events to symbol_conf Arnaldo Carvalho de Melo
2011-11-29  4:44   ` David Ahern
2011-11-29 11:52     ` Arnaldo Carvalho de Melo
2011-11-28 23:14 ` [PATCH 13/25] perf evlist: Introduce id_hdr_size method out of perf_session Arnaldo Carvalho de Melo
2011-11-28 23:14 ` [PATCH 14/25] perf event: perf_event_ops->attr() manipulates only an evlist Arnaldo Carvalho de Melo
2011-11-28 23:14 ` [PATCH 15/25] perf session: Remove superfluous callchain_cursor member Arnaldo Carvalho de Melo
2011-11-28 23:14 ` [PATCH 16/25] perf tools: Use evsel->attr.sample_type instead of session->sample_type Arnaldo Carvalho de Melo
2011-11-28 23:14 ` [PATCH 17/25] perf report: Group options in a struct Arnaldo Carvalho de Melo
2011-11-28 23:14 ` [PATCH 18/25] perf annotate: " Arnaldo Carvalho de Melo
2011-11-28 23:14 ` [PATCH 19/25] perf tools: Pass tool context in the the perf_event_ops functions Arnaldo Carvalho de Melo
2011-11-28 23:14 ` [PATCH 20/25] perf tools: Resolve machine earlier and pass it to perf_event_ops Arnaldo Carvalho de Melo
2011-11-28 23:14 ` [PATCH 21/25] perf tools: Rename perf_event_ops to perf_tool Arnaldo Carvalho de Melo
2011-11-28 23:14 ` [PATCH 22/25] perf top: Stop using globals for tool state Arnaldo Carvalho de Melo
2011-11-28 23:14 ` [PATCH 23/25] perf tools: make -C consistent across commands (for cpu list arg) Arnaldo Carvalho de Melo
2011-11-28 23:14 ` [PATCH 24/25] perf script: Add comm filtering option Arnaldo Carvalho de Melo
2011-11-28 23:14 ` [PATCH 25/25] perf tools: Save some loops using perf_evlist__id2evsel Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox