| Index: runtime/vm/profiler.cc
|
| diff --git a/runtime/vm/profiler.cc b/runtime/vm/profiler.cc
|
| index 71e1cc070619cf47fe322471e69b21d27fdcc6da..d8ec5da69b8c6796a9570be71e38a0e308e84d52 100644
|
| --- a/runtime/vm/profiler.cc
|
| +++ b/runtime/vm/profiler.cc
|
| @@ -1327,8 +1327,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);
|
| @@ -1463,7 +1463,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());
|
|
|