perf tools: Factor perf data handling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | perf tools: Add data object to handle perf data filetools/ tools/ tools/ +18 more | +186 | 0 replies | |
| 2/3 | perf tools: Add perf_data_file__open interface to data objecttools/ tools/ tools/ +4 more | +158 | 0 replies | |
| 3/3 | perf tools: Separating data file properties from sessiontools/ tools/ tools/ +6 more | +55 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] perf tools: Factor perf data handling
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
---
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