Revised cache_trace