Merge "simpleperf: dump tracing data when needed."