linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] perf tools: Factor perf data handling
@ 2013-10-07  9:31 Jiri Olsa
  2013-10-07  9:31 ` [PATCH 1/3] perf tools: Add data object to handle perf data file Jiri Olsa
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Jiri Olsa @ 2013-10-07  9:31 UTC (permalink / raw)
  To: linux-kernel
  Cc: Jiri Olsa, Corey Ashford, Frederic Weisbecker, Ingo Molnar,
	Namhyung Kim, Paul Mackerras, Peter Zijlstra,
	Arnaldo Carvalho de Melo, David Ahern, Adrian Hunter, Andi Kleen

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

^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <1381847254-28809-1-git-send-email-jolsa@redhat.com>]

end of thread, other threads:[~2013-10-23  6:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-07  9:31 [PATCH 0/3] perf tools: Factor perf data handling Jiri Olsa
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
     [not found] <1381847254-28809-1-git-send-email-jolsa@redhat.com>
2013-10-15 14:27 ` [PATCH 2/3] perf tools: Add perf_data_file__open interface to data object Jiri Olsa
2013-10-23  6:34   ` Adrian Hunter

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).