perf tool: Add support for multiple data file storage
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest25 patches 18 repliesIn review
- v1 RFC23 patches 20 repliesSuperseded
Changes in v2 from the cover letter
- reworked perf mmap size setup to be able to get the mmap size value easily later
- added perf.data read/write test for v2 and v3 for both endianity
- added record '-M time' support
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/25 | perf tools: Check mmap pages value earlytools/ tools/ tools/ +3 more | +54 | 0 replies | |
| 2/25 | perf tools: Add possibility to specify mmap sizetools/ tools/ tools/ +4 more | +77 | 0 replies | |
| 3/25 | perf tools: Introduce perf_evlist__new_default functiontools/ tools/ tools/ +1 more | +16 | 0 replies | |
| 4/25 | perf tools: Adding throttle event data struct supporttools/ tools/ tools/ | +20 | 0 replies | |
| 5/25 | perf tests: Add simple session read/write testtools/ tools/ tools/ +1 more | +608 | 0 replies | |
| 6/25 | perf tests: Add session reading test for little endian perf datatools/ tools/ tools/ | +253 | 0 replies | |
| 7/25 | perf tests: Add session reading test for big endian perf datatools/ tools/ tools/ | +272 | 0 replies | |
| 8/25 | perf doc: Add perf data file documentationtools/ | +264 | 0 replies | |
| 9/25 | perf tools: Introduce perf data file version CHECK macrotools/ | +16 | 0 replies | |
| 10/25 | perf tools: Introduce swap_features functiontools/ | +35 | 0 replies | |
| 11/25 | perf tools: Introduce swap_header functiontools/ | +18 | 0 replies | |
| 12/25 | perf tools: Separate version 2 specific perf data header bitstools/ tools/ | +92 | 0 replies | |
| 13/25 | perf tools: Using evlist as a holder for event_desc featuretools/ | +38 | 0 replies | |
| 14/25 | perf tools: Introduce perf.data version 3 formattools/ tools/ tools/ | +78 | 0 replies | |
| 15/25 | perf tools: Add perf data version 3 header swaptools/ | +18 | 0 replies | |
| 16/25 | perf tools: Add perf data version 3 header readtools/ | +39 | 0 replies | |
| 17/25 | perf tools: Add perf.data version 3 header writetools/ tools/ tools/ +3 more | +36 | 0 replies | |
| 18/25 | perf tools: Get rid of post_processing_offset in record commandtools/ | +6 | 0 replies | |
| 19/25 | perf tools: Move synthesizing into single functiontools/ tools/ tools/ +19 more | +290 | 0 replies | |
| 20/25 | perf tools: Add perf_data_file__open interface to data objecttools/ tools/ tools/ +5 more | +158 | 0 replies | |
| 21/25 | perf tools: Separating data file properties from sessiontools/ tools/ tools/ +7 more | +64 | 0 replies | |
| 22/25 | perf tests: Add session reading test for little endian perf data v3tools/ tools/ tools/ | +219 | 0 replies | |
| 23/25 | perf tests: Add session reading test for big endian perf data v3tools/ tools/ tools/ | +265 | 0 replies | |
| 24/25 | perf tools: Add multi file '-M' option for record commandtools/ tools/ tools/ +3 more | +280 | 4 replies | |
| 25/25 | perf tools: Have the process properly sythesized in subsequent data filestools/ | +11 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCHv2 00/25] perf tool: Add support for multiple data file storage
hi,
sending the support for multiple file storage. Initial RFC is here:
http://marc.info/?l=linux-kernel&m=137408381902423&w=2
v2 changes:
- reworked perf mmap size setup to be able to get the mmap size value easily later
- added perf.data read/write test for v2 and v3 for both endianity
- added record '-M time' support
It's reachable here:git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
perf/core_file
thanks,
jirka
---
Jiri Olsa (25):
perf tools: Check mmap pages value early
perf tools: Add possibility to specify mmap size
perf tools: Introduce perf_evlist__new_default function
perf tools: Adding throttle event data struct support
perf tests: Add simple session read/write test
perf tests: Add session reading test for little endian perf data perf tests: Add session reading test for big endian perf data perf doc: Add perf data file documentation
perf tools: Introduce perf data file version CHECK macro perf tools: Introduce swap_features function
perf tools: Introduce swap_header function
perf tools: Separate version 2 specific perf data header bits perf tools: Using evlist as a holder for event_desc feature perf tools: Introduce perf.data version 3 format
perf tools: Add perf data version 3 header swap
perf tools: Add perf data version 3 header read
perf tools: Add perf.data version 3 header write
perf tools: Get rid of post_processing_offset in record command perf tools: Move synthesizing into single function
perf tools: Add perf_data_file__open interface to data object perf tools: Separating data file properties from session perf tests: Add session reading test for little endian perf data v3 perf tests: Add session reading test for big endian perf data v3 perf tools: Add multi file '-M' option for record command perf tools: Have the process properly sythesized in subsequent data files
tools/perf/Documentation/perf-data-file-v2.txt | 265 ++++++++++++++++++++++++++++++++++ tools/perf/Documentation/perf-data-file-v3.txt | 63 ++++++++ tools/perf/Documentation/perf-kvm.txt | 4 +- tools/perf/Documentation/perf-record.txt | 18 ++- tools/perf/Documentation/perf-top.txt | 4 +- tools/perf/Documentation/perf-trace.txt | 4 +- tools/perf/Makefile | 6 + 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 | 10 +- tools/perf/builtin-kmem.c | 7 +- tools/perf/builtin-kvm.c | 18 ++- tools/perf/builtin-lock.c | 8 +- tools/perf/builtin-mem.c | 9 +- tools/perf/builtin-record.c | 484 ++++++++++++++++++++++++++++++++++++++++++++------------------ 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 | 12 +- tools/perf/builtin-trace.c | 13 +- tools/perf/perf.h | 15 +- tools/perf/tests/builtin-test.c | 4 + tools/perf/tests/perf-record.c | 12 +- tools/perf/tests/perf.data.v2.be.h | 265 ++++++++++++++++++++++++++++++++++ tools/perf/tests/perf.data.v2.le.h | 219 ++++++++++++++++++++++++++++ tools/perf/tests/perf.data.v3.be.h | 258 +++++++++++++++++++++++++++++++++ tools/perf/tests/perf.data.v3.le.h | 212 +++++++++++++++++++++++++++ tools/perf/tests/session-simple.c | 658 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ tools/perf/tests/task-exit.c | 14 +- tools/perf/tests/tests.h | 1 + tools/perf/util/data.c | 120 ++++++++++++++++ tools/perf/util/data.h | 48 +++++++ tools/perf/util/event.h | 7 + tools/perf/util/evlist.c | 78 ++++++++-- tools/perf/util/evlist.h | 9 +- tools/perf/util/evsel.c | 24 ++++ tools/perf/util/header.c | 446 +++++++++++++++++++++++++++++++++------------------------ tools/perf/util/header.h | 31 +++- tools/perf/util/python.c | 7 - tools/perf/util/session.c | 138 ++++++++---------- tools/perf/util/session.h | 11 +- tools/perf/util/util.c | 25 ++++ tools/perf/util/util.h | 14 ++ 47 files changed, 3137 insertions(+), 511 deletions(-) create mode 100644 tools/perf/Documentation/perf-data-file-v2.txt create mode 100644 tools/perf/Documentation/perf-data-file-v3.txt create mode 100644 tools/perf/tests/perf.data.v2.be.h create mode 100644 tools/perf/tests/perf.data.v2.le.h create mode 100644 tools/perf/tests/perf.data.v3.be.h create mode 100644 tools/perf/tests/perf.data.v3.le.h create mode 100644 tools/perf/tests/session-simple.c create mode 100644 tools/perf/util/data.c create mode 100644 tools/perf/util/data.h