Merge "Change IsMethodTracingActive to GetMethodTracingMode for frameworks."