Use --timeline_recorder=systrace instead of --systrace_timeline (flutter/engine#46884)

`--systrace_timeline` is redundant and makes the `getFlagList` VM
Service RPC not return `timeline_recorder=systrace`
(https://github.com/flutter/devtools/issues/6524#issuecomment-1760090526),
so we would like to deprecate and remove it.
This commit is contained in:
Derek Xu
2023-10-13 12:47:51 -04:00
committed by GitHub
parent cc53445e19
commit 9b06776b0e
2 changed files with 2 additions and 3 deletions

View File

@@ -95,9 +95,8 @@ static const char* kDartEndlessTraceBufferArgs[]{
"--timeline_recorder=endless",
};
// This is the same as --timeline_recorder=systrace.
static const char* kDartSystraceTraceBufferArgs[] = {
"--systrace_timeline",
"--timeline_recorder=systrace",
};
static std::string DartFileRecorderArgs(const std::string& path) {

View File

@@ -41,7 +41,7 @@ namespace {
const char* kDartVMArgs[] = {
// clang-format off
"--systrace_timeline",
"--timeline_recorder=systrace",
"--timeline_streams=Compiler,Dart,Debugger,Embedder,GC,Isolate,VM",
#if defined(AOT_RUNTIME)