Re: [PATCH v2] perf record: encode -k clockid frequency into Perf trace

2018-10-03 Thread Alexey Budankov
Hi, On 03.10.2018 16:39, Jiri Olsa wrote: > On Wed, Oct 03, 2018 at 10:01:56AM +0300, Alexey Budankov wrote: >> +if (rec->opts.use_clockid && rec->opts.clockid_res_ns) >> +session->header.env.clockid_res_ns = rec->opts.clockid_res_ns; >> +else >> +perf_header__clea

Re: [PATCH v2] perf record: encode -k clockid frequency into Perf trace

2018-10-03 Thread Jiri Olsa
On Wed, Oct 03, 2018 at 10:01:56AM +0300, Alexey Budankov wrote: > > Store -k clockid frequency into Perf trace to enable timestamps > derived metrics conversion into wall clock time on reporting stage. > > Below is the example of perf report output: > > tools/perf/perf record -k raw -- ../../m

[PATCH v2] perf record: encode -k clockid frequency into Perf trace

2018-10-03 Thread Alexey Budankov
Store -k clockid frequency into Perf trace to enable timestamps derived metrics conversion into wall clock time on reporting stage. Below is the example of perf report output: tools/perf/perf record -k raw -- ../../matrix/linux/matrix.gcc ... [ perf record: Captured and wrote 31.222 MB perf.da

[PATCH v2] perf record: encode -k clockid frequency into Perf trace

2018-09-27 Thread Alexey Budankov
Store -k clockid frequency into Perf trace to enable timestamps derived metrics conversion into wall clock time on reporting stage. Below is the example of perf report output: tools/perf/perf record -k raw -- ../../matrix/linux/matrix.gcc ... [ perf record: Captured and wrote 31.222 MB perf.da