commit | fb01d12eae4a5fb0d080bd434069d6693832f026 | [log] [tgz] |
---|---|---|
author | Michal Simek <michal.simek@amd.com> | Fri Sep 15 14:12:05 2023 +0200 |
committer | Simon Glass <sjg@chromium.org> | Sat Sep 23 09:00:37 2023 -0600 |
tree | 97e9fe98dfc5b00ef2211fa1c1c65a7022612798 | |
parent | 94fa07e3bd9709515a91dfd62f0c75f91a9a2079 [diff] |
trace: Fix alignment logic in flyrecord header Current alignment which is using 16 bytes is not correct in connection to trace_clocks description and it's length. That's why use start_addr variable and record proper size based on used entries. Fixes: be16fc81b2ed ("trace: Update proftool to use new binary format"). Signed-off-by: Michal Simek <michal.simek@amd.com> Reviewed-by: Simon Glass <sjg@chromium.org>