| Index: runtime/vm/profiler.cc
|
| diff --git a/runtime/vm/profiler.cc b/runtime/vm/profiler.cc
|
| index d66a6b3bc8b1d19b1ad0dda2d791c6578da7c7f1..b967123466e3ff9856cd092bebba57885d70df56 100644
|
| --- a/runtime/vm/profiler.cc
|
| +++ b/runtime/vm/profiler.cc
|
| @@ -32,7 +32,7 @@ namespace dart {
|
| defined(TARGET_OS_MACOS) || defined(TARGET_OS_ANDROID)
|
| DEFINE_FLAG(bool, profile, false, "Enable Sampling Profiler");
|
| #else
|
| - DEFINE_FLAG(bool, profile, false, "Enable Sampling Profiler");
|
| + DEFINE_FLAG(bool, profile, true, "Enable Sampling Profiler");
|
| #endif
|
| DEFINE_FLAG(bool, trace_profiled_isolates, false, "Trace profiled isolates.");
|
| DEFINE_FLAG(charp, profile_dir, NULL,
|
| @@ -112,7 +112,6 @@ void Profiler::ShutdownProfilingForIsolate(Isolate* isolate) {
|
| return;
|
| }
|
| isolate->set_profiler_data(NULL);
|
| - profiler_data->set_sample_buffer(NULL);
|
| delete profiler_data;
|
| if (FLAG_trace_profiled_isolates) {
|
| OS::Print("Profiler Shutdown %p %s\n", isolate, isolate->name());
|
|
|