mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jiri Olsa <jolsa@redhat.com>
To: acme@redhat.com, a.p.zijlstra@chello.nl, mingo@elte.hu, paulus@samba.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 0/4] perf tool: Refactoring IO mmap/data files code
Date: Fri,  9 Dec 2011 18:30:34 +0100	[thread overview]
Message-ID: <1323451838-23081-1-git-send-email-jolsa@redhat.com> (raw)

Hi,
centralizing event mmaps and output file functionality.

Adding perf_mmap object to encapsulate  event's memory maps,
and perf_data object to handle intput/output data file processing.

attached patches:
 1/4 perf, tool: Centralize the memory maps handling
 2/4 perf, tool: Factor evlist code to use global unmap function
 3/4 perf, tool: Introducing perf_mmap object
 4/4 perf, tool: Introducing perf_data object

wbr,
jirka
---
 tools/perf/Makefile               |    5 +
 tools/perf/builtin-annotate.c     |    2 +-
 tools/perf/builtin-buildid-list.c |    4 +-
 tools/perf/builtin-diff.c         |    6 +-
 tools/perf/builtin-evlist.c       |    3 +-
 tools/perf/builtin-inject.c       |    3 +-
 tools/perf/builtin-kmem.c         |    3 +-
 tools/perf/builtin-lock.c         |    3 +-
 tools/perf/builtin-record.c       |  165 ++++++++----------------------
 tools/perf/builtin-report.c       |    2 +-
 tools/perf/builtin-sched.c        |    6 +-
 tools/perf/builtin-script.c       |    3 +-
 tools/perf/builtin-timechart.c    |    5 +-
 tools/perf/builtin-top.c          |    8 +-
 tools/perf/perf.h                 |   26 -----
 tools/perf/util/data.c            |  201 +++++++++++++++++++++++++++++++++++++
 tools/perf/util/data.h            |   64 ++++++++++++
 tools/perf/util/evlist.c          |  131 +++++-------------------
 tools/perf/util/evlist.h          |    1 +
 tools/perf/util/header.c          |   28 +++---
 tools/perf/util/header.h          |    4 +-
 tools/perf/util/mmap.c            |  140 ++++++++++++++++++++++++++
 tools/perf/util/mmap.h            |   49 +++++++++
 tools/perf/util/session.c         |  111 +++++++-------------
 tools/perf/util/session.h         |   21 +++-
 tools/perf/util/setup.py          |    2 +-
 26 files changed, 633 insertions(+), 363 deletions(-)

             reply	other threads:[~2011-12-09 17:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-09 17:30 Jiri Olsa [this message]
2011-12-09 17:30 ` [PATCH 1/4] perf, tool: Centralize the memory maps handling Jiri Olsa
2011-12-09 17:30 ` [PATCH 2/4] perf, tool: Factor evlist code to use global unmap function Jiri Olsa
2011-12-09 17:30 ` [PATCH 3/4] perf, tool: Introducing perf_mmap object Jiri Olsa
2011-12-09 17:30 ` [PATCH 4/4] perf, tool: Introducing perf_data object Jiri Olsa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1323451838-23081-1-git-send-email-jolsa@redhat.com \
    --to=jolsa@redhat.com \
    --cc=a.p.zijlstra@chello.nl \
    --cc=acme@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=paulus@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®