From: Arnaldo Carvalho de Melo Date: Wed, 29 May 2019 18:43:51 +0000 (-0300) Subject: perf data: Document clockid header: HEADER_CLOCKID X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a9de7cfc7663882e98ec3b2ecf35c546a013b956;p=openwrt%2Fstaging%2Fblogic.git 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 Cc: Alexander Shishkin Cc: Alexey Budankov Cc: Andi Kleen Cc: Chong Jiang Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Simon Que 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 --- 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