Fix missing API stream when record event in systrace (flutter/engine#14323)

This commit is contained in:
Gityuan
2019-12-12 07:51:47 +08:00
committed by Chinmay Garde
parent 54b31f5547
commit 7a8fde4337

View File

@@ -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://";