add mem trace read support