Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(421)

Unified Diff: runtime/observatory/lib/src/service/object.dart

Issue 2992893002: Reapply "[vm] Don't enable the profiler by default. Enable the profiler at startup with --observe, … (Closed)
Patch Set: native symbol resolver Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/observatory/lib/src/service/object.dart
diff --git a/runtime/observatory/lib/src/service/object.dart b/runtime/observatory/lib/src/service/object.dart
index 246fba9f85110b8cdf473f2221350a625a9c0b3e..63e4e1009611aa82f2899ce5808f00264ef2d77d 100644
--- a/runtime/observatory/lib/src/service/object.dart
+++ b/runtime/observatory/lib/src/service/object.dart
@@ -895,6 +895,10 @@ abstract class VM extends ServiceObjectOwner implements M.VM {
return invokeRpc('getFlagList', {});
}
+ Future enableProfiler() {
+ return invokeRpc("_enableProfiler", {});
+ }
+
Future<ServiceObject> _streamListen(String streamId) {
Map params = {
'streamId': streamId,
« no previous file with comments | « runtime/observatory/lib/src/models/objects/vm.dart ('k') | runtime/observatory/tests/observatory_ui/mocks/objects/vm.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698