diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-05-29 15:43:51 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-06-05 09:47:53 -0300 |
commit | a9de7cfc7663882e98ec3b2ecf35c546a013b956 (patch) | |
tree | 72bd20cc9ebfec16fcc05fc0998f68a3b9c0f383 /tools/perf/Documentation | |
parent | 835fbf126ce0a359626bc59b8da4e7601f01fc87 (diff) | |
download | linux-a9de7cfc7663882e98ec3b2ecf35c546a013b956.tar.gz linux-a9de7cfc7663882e98ec3b2ecf35c546a013b956.tar.bz2 linux-a9de7cfc7663882e98ec3b2ecf35c546a013b956.zip |
perf data: Document clockid header: HEADER_CLOCKID
We forgot to update the perf.data file format document for the
HEADER_CLOCKID 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: cf7905165fee ("perf record: Encode -k clockid frequency into Perf trace")
Link: https://lkml.kernel.org/n/tip-slhnjp06027j3ae17qqetzxj@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation')
-rw-r--r-- | tools/perf/Documentation/perf.data-file-format.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf.data-file-format.txt b/tools/perf/Documentation/perf.data-file-format.txt index 99733751695b..600999f89c6d 100644 --- a/tools/perf/Documentation/perf.data-file-format.txt +++ b/tools/perf/Documentation/perf.data-file-format.txt @@ -296,6 +296,12 @@ $ perf report --header-only -I # memory nodes (nr 1, block size 0x8000000): # 0 [7G]: 0-23,32-69 + HEADER_CLOCKID = 23, + +One uint64_t for the clockid frequency, specified, for instance, via 'perf +record -k' (see clock_gettime()), to enable timestamps derived metrics +conversion into wall clock time on the reporting stage. + HEADER_BPF_PROG_INFO = 25, struct bpf_prog_info_linear, which contains detailed information about |