Trim down the backtrace.