[Fuchsia] For profiling, export symbols, profile the VM (flutter/engine#3756)

This commit is contained in:
Zachary Anderson
2017-06-08 13:57:31 -07:00
committed by GitHub
parent 17c9a56d2e
commit e17349b426

View File

@@ -391,7 +391,10 @@ static std::vector<const char*> ProfilingFlags(bool enable_profiling) {
// Raspberry Pi devices but quite low for current smartphones.
"--profile_period=1000",
// This is the default. But just be explicit.
"--profiler"};
"--profiler",
// This instructs the profiler to walk C++ frames, and to include
// them in the profile.
"--profile-vm"};
} else {
return {"--no-profiler"};
}