Switch over to the new name for compilation trace native function (#25594)

* Switch over to the new name for compilation trace native function.

Also see: https://github.com/flutter/engine/pull/7256

* rename

* roll the engine
diff --git a/packages/flutter_tools/lib/src/resident_runner.dart b/packages/flutter_tools/lib/src/resident_runner.dart
index 5b3edf2..f18f145 100644
--- a/packages/flutter_tools/lib/src/resident_runner.dart
+++ b/packages/flutter_tools/lib/src/resident_runner.dart
@@ -490,7 +490,7 @@
   Future<void> stop() async {
     _stopped = true;
     if (saveCompilationTrace)
-      await _saveCompilationTrace();
+      await _debugSaveCompilationTrace();
     await stopEchoingDeviceLog();
     await preStop();
     return stopApp();
@@ -595,7 +595,7 @@
     }
   }
 
-  Future<void> _saveCompilationTrace() async {
+  Future<void> _debugSaveCompilationTrace() async {
     if (!supportsServiceProtocol)
       return;
 
@@ -607,7 +607,7 @@
 
         List<int> buffer;
         try {
-          buffer = await view.uiIsolate.flutterDumpCompilationTrace();
+          buffer = await view.uiIsolate.flutterDebugSaveCompilationTrace();
           assert(buffer != null);
         } catch (error) {
           printError('Error communicating with Flutter on the device: $error');
diff --git a/packages/flutter_tools/lib/src/vmservice.dart b/packages/flutter_tools/lib/src/vmservice.dart
index a14f27e..83f837a 100644
--- a/packages/flutter_tools/lib/src/vmservice.dart
+++ b/packages/flutter_tools/lib/src/vmservice.dart
@@ -1312,9 +1312,9 @@
     );
   }
 
-  Future<List<int>> flutterDumpCompilationTrace() async {
+  Future<List<int>> flutterDebugSaveCompilationTrace() async {
     final Map<String, dynamic> result =
-      await invokeFlutterExtensionRpcRaw('ext.flutter.dumpCompilationTrace');
+      await invokeFlutterExtensionRpcRaw('ext.flutter.saveCompilationTrace');
     if (result != null && result['value'] is List<dynamic>)
         return result['value'].cast<int>();
     return null;