diff options
author | Michal Simek <michal.simek@amd.com> | 2023-09-15 14:12:05 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2023-09-21 13:20:12 +0200 |
commit | 8750d35ee295b0713d621a7d667515ef63fca246 (patch) | |
tree | cf9280fa69738880ed34a7c3b162e4d1e8800a89 /disk/part_mac.c | |
parent | ad0f3cdc219c9482c728cdbcf43cfcc2dfba04e2 (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").
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/691dad64df80993ca4cfb6d0e33964ed26f50bee.1694779918.git.michal.simek@amd.com
Diffstat (limited to 'disk/part_mac.c')
0 files changed, 0 insertions, 0 deletions