trace: Move trace_clocks description above record offset calculation
authorMichal Simek <michal.simek@amd.com>
Fri, 15 Sep 2023 12:12:04 +0000 (14:12 +0200)
committerSimon Glass <sjg@chromium.org>
Sat, 23 Sep 2023 15:00:37 +0000 (09:00 -0600)
commit5ae43b8706c8897cbd711dbb0f023703b08b5fd3
treef14c4ec28b768faa60026dbfb463cc5b700126c7
parent83711374ee127205dabecbbdab8f58abd504578c
trace: Move trace_clocks description above record offset calculation

Flyrecord tracing data are page aligned that's why it is necessary to
calculate alignment properly. Because trace_clocks description is the part
of record length it is necessary to have information about length earlier.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/proftool.c