]> git.dujemihanovic.xyz Git - u-boot.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)
committerMichal Simek <michal.simek@amd.com>
Thu, 21 Sep 2023 11:20:12 +0000 (13:20 +0200)
commitad0f3cdc219c9482c728cdbcf43cfcc2dfba04e2
tree8ebf9e2ced220e8da2cfca55e08e623dc201c8c3
parentdee8739a1ba5fe8cdf1c51b168dbc56f7bd921c4
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.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/d3853d91b6fa7e3a1e5c24dd3c17335cf0041b5b.1694779918.git.michal.simek@amd.com
tools/proftool.c