]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit2c299d2a790a17bcecf263e313fa42f5c60b484e
treef14c4ec28b768faa60026dbfb463cc5b700126c7
parent1abdcf3cd90d4954f332ff06429c4faa783a3655
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