From c1c7e6ab15f0aa54d0453ee4f0cf4e3d677bf751 Mon Sep 17 00:00:00 2001 From: yuanhuihui Date: Wed, 11 Dec 2019 12:53:37 +0800 Subject: [PATCH] Fix missing API stream when record event in systrace Signed-off-by: yuanhuihui --- runtime/dart_vm.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/dart_vm.cc b/runtime/dart_vm.cc index 652bf2804aca5..2cb6c69c34d14 100644 --- a/runtime/dart_vm.cc +++ b/runtime/dart_vm.cc @@ -92,7 +92,7 @@ static const char* kDartDisableServiceAuthCodesArgs[]{ }; static const char* kDartTraceStartupArgs[]{ - "--timeline_streams=Compiler,Dart,Debugger,Embedder,GC,Isolate,VM", + "--timeline_streams=Compiler,Dart,Debugger,Embedder,GC,Isolate,VM,API", }; static const char* kDartEndlessTraceBufferArgs[]{ @@ -108,7 +108,7 @@ static const char* kDartFuchsiaTraceArgs[] FML_ALLOW_UNUSED_TYPE = { }; static const char* kDartTraceStreamsArgs[] = { - "--timeline_streams=Compiler,Dart,Debugger,Embedder,GC,Isolate,VM", + "--timeline_streams=Compiler,Dart,Debugger,Embedder,GC,Isolate,VM,API", }; constexpr char kFileUriPrefix[] = "file://";