aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-05-29 14:50:50 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-06-05 08:47:53 -0400
commit0da6ae94e4102fa145149dd0878b266c932507aa (patch)
tree4e6505831bee3a1ed9ed10373a1b69cc132cf2ee /tools/perf
parenta9de7cfc7663882e98ec3b2ecf35c546a013b956 (diff)
perf data: Document directory format header: HEADER_DIR_FORMAT
We forgot to update the perf.data file format document for the HEADER_DIR_FORMAT header, do it now from comments in the patch introducing it. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Alexey Budankov <alexey.budankov@linux.intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Chong Jiang <chongjiang@chromium.org> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Simon Que <sque@chromium.org> Fixes: 258031c017c3 ("perf header: Add DIR_FORMAT feature to describe directory data") Link: https://lkml.kernel.org/n/tip-jbrzb7ijb5al33gi8br6f9rr@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf')
-rw-r--r--tools/perf/Documentation/perf.data-file-format.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf.data-file-format.txt b/tools/perf/Documentation/perf.data-file-format.txt
index 600999f89c6d..6375e6fb8bac 100644
--- a/tools/perf/Documentation/perf.data-file-format.txt
+++ b/tools/perf/Documentation/perf.data-file-format.txt
@@ -302,6 +302,23 @@ One uint64_t for the clockid frequency, specified, for instance, via 'perf
302record -k' (see clock_gettime()), to enable timestamps derived metrics 302record -k' (see clock_gettime()), to enable timestamps derived metrics
303conversion into wall clock time on the reporting stage. 303conversion into wall clock time on the reporting stage.
304 304
305 HEADER_DIR_FORMAT = 24,
306
307The data files layout is described by HEADER_DIR_FORMAT feature. Currently it
308holds only version number (1):
309
310 uint64_t version;
311
312The current version holds only version value (1) means that data files:
313
314- Follow the 'data.*' name format.
315
316- Contain raw events data in standard perf format as read from kernel (and need
317 to be sorted)
318
319Future versions are expected to describe different data files layout according
320to special needs.
321
305 HEADER_BPF_PROG_INFO = 25, 322 HEADER_BPF_PROG_INFO = 25,
306 323
307struct bpf_prog_info_linear, which contains detailed information about 324struct bpf_prog_info_linear, which contains detailed information about