[PATCH 18/24] trace: Use text_base from the trace header