trace: Use text_base from the trace header
authorSimon Glass <sjg@chromium.org>
Sun, 15 Jan 2023 21:15:55 +0000 (14:15 -0700)
committerTom Rini <trini@konsulko.com>
Sat, 11 Feb 2023 17:22:35 +0000 (12:22 -0500)
commit88716b550365996277303fb55a06afdfee076184
tree7380d8ef9bf3e0315521ea34fa2f11a9901973be
parentb15a16adf514b47fef2a50111e9af6493bee2e6a
trace: Use text_base from the trace header

Use the information in the trace header instead of reading it from the
trace records. Add debugging to check that System.map and the trace header
agree on this value.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/proftool.c