From: Jiri Olsa <jolsa@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: Jiri Olsa <jolsa@redhat.com>,
Corey Ashford <cjashfor@linux.vnet.ibm.com>,
Frederic Weisbecker <fweisbec@gmail.com>,
Ingo Molnar <mingo@elte.hu>, Namhyung Kim <namhyung@kernel.org>,
Paul Mackerras <paulus@samba.org>,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
Arnaldo Carvalho de Melo <acme@redhat.com>,
David Ahern <dsahern@gmail.com>,
Adrian Hunter <adrian.hunter@intel.com>,
Andi Kleen <andi@firstfloor.org>
Subject: [PATCH 0/3] perf tools: Factor perf data handling
Date: Mon, 7 Oct 2013 11:31:38 +0200 [thread overview]
Message-ID: <1381138301-6332-1-git-send-email-jolsa@redhat.com> (raw)
hi,
adding patches to centralize perf.data handling. New object
perf_data_file is added as a handler for perf.data file.
This cleans up perf.data handling and will become handy
for other perf.data file related changes in future, like
multiple file storage or separating storage into multiple
threads.
This patchset is extracted and rebased as generic one
from my earlier 'multiple file support' patchset:
http://marc.info/?t=137803189400001&r=1&w=2
It's reachable here:
git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
perf/file38
thanks,
jirka
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
---
Jiri Olsa (3):
perf tools: Add data object to handle perf data file
perf tools: Add perf_data_file__open interface to data object
perf tools: Separating data file properties from session
tools/perf/Makefile | 1 +
tools/perf/builtin-annotate.c | 11 ++++++---
tools/perf/builtin-buildid-cache.c | 8 +++++--
tools/perf/builtin-buildid-list.c | 11 ++++++---
tools/perf/builtin-diff.c | 19 +++++++++------
tools/perf/builtin-evlist.c | 7 +++++-
tools/perf/builtin-inject.c | 7 +++++-
tools/perf/builtin-kmem.c | 7 +++++-
tools/perf/builtin-kvm.c | 13 +++++++---
tools/perf/builtin-lock.c | 7 +++++-
tools/perf/builtin-mem.c | 9 +++++--
tools/perf/builtin-record.c | 78 +++++++++++++++++++-----------------------------------------
tools/perf/builtin-report.c | 18 ++++++++++----
tools/perf/builtin-sched.c | 6 ++++-
tools/perf/builtin-script.c | 17 +++++++++----
tools/perf/builtin-timechart.c | 10 ++++++--
tools/perf/builtin-top.c | 7 ++----
tools/perf/builtin-trace.c | 8 ++++---
tools/perf/perf.h | 1 -
tools/perf/util/data.c | 120 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
tools/perf/util/data.h | 48 +++++++++++++++++++++++++++++++++++++
tools/perf/util/header.c | 20 +++++++++-------
tools/perf/util/session.c | 125 +++++++++++++++++++++++++++++++++++-------------------------------------------------------------
tools/perf/util/session.h | 11 ++++-----
24 files changed, 376 insertions(+), 193 deletions(-)
create mode 100644 tools/perf/util/data.c
create mode 100644 tools/perf/util/data.h
next reply other threads:[~2013-10-07 9:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-07 9:31 Jiri Olsa [this message]
2013-10-07 9:31 ` [PATCH 1/3] perf tools: Add data object to handle perf data file Jiri Olsa
2013-10-07 9:31 ` [PATCH 2/3] perf tools: Add perf_data_file__open interface to data object Jiri Olsa
2013-10-07 9:31 ` [PATCH 3/3] perf tools: Separating data file properties from session 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=1381138301-6332-1-git-send-email-jolsa@redhat.com \
--to=jolsa@redhat.com \
--cc=a.p.zijlstra@chello.nl \
--cc=acme@redhat.com \
--cc=adrian.hunter@intel.com \
--cc=andi@firstfloor.org \
--cc=cjashfor@linux.vnet.ibm.com \
--cc=dsahern@gmail.com \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=namhyung@kernel.org \
--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;
as well as URLs for NNTP newsgroup(s).