| Index: runtime/vm/profiler.cc
|
| diff --git a/runtime/vm/profiler.cc b/runtime/vm/profiler.cc
|
| index 95de0bf101709f1ee17fdd934e44fa907e979038..aa725bd005a4843cd569007ac89edf3477e81777 100644
|
| --- a/runtime/vm/profiler.cc
|
| +++ b/runtime/vm/profiler.cc
|
| @@ -1325,8 +1325,8 @@ class CodeRegionTableCallersBuilder {
|
| };
|
|
|
|
|
| -void Profiler::PrintToJSONStream(Isolate* isolate, JSONStream* stream,
|
| - bool full, TagOrder tag_order) {
|
| +void Profiler::PrintJSON(Isolate* isolate, JSONStream* stream,
|
| + bool full, TagOrder tag_order) {
|
| ASSERT(isolate == Isolate::Current());
|
| // Disable profile interrupts while processing the buffer.
|
| EndExecution(isolate);
|
| @@ -1461,7 +1461,7 @@ void Profiler::WriteProfile(Isolate* isolate) {
|
| ASSERT(Isolate::Current() == isolate);
|
| JSONStream stream(10 * MB);
|
| intptr_t pid = OS::ProcessId();
|
| - PrintToJSONStream(isolate, &stream, true, Profiler::kNoTags);
|
| + PrintJSON(isolate, &stream, true, Profiler::kNoTags);
|
| const char* format = "%s/dart-profile-%" Pd "-%" Pd ".json";
|
| intptr_t len = OS::SNPrint(NULL, 0, format,
|
| FLAG_profile_dir, pid, isolate->main_port());
|
|
|