| Index: runtime/vm/service.cc
|
| diff --git a/runtime/vm/service.cc b/runtime/vm/service.cc
|
| index 8907dc3dc1ac98af485de9c28d17df01d0974f03..89d50158fee17db67ce9fd8d03141529b1db0549 100644
|
| --- a/runtime/vm/service.cc
|
| +++ b/runtime/vm/service.cc
|
| @@ -1374,7 +1374,12 @@ static bool HandleProfile(Isolate* isolate, JSONStream* js) {
|
| // A full profile includes disassembly of all Dart code objects.
|
| // TODO(johnmccutchan): Add sub command to trigger full code dump.
|
| bool full_profile = false;
|
| - Profiler::PrintToJSONStream(isolate, js, full_profile);
|
| + const char* tags_option = js->LookupOption("tags");
|
| + bool use_tags = true;
|
| + if ((tags_option != NULL) && (strcmp("hide", tags_option) == 0)) {
|
| + use_tags = false;
|
| + }
|
| + Profiler::PrintToJSONStream(isolate, js, full_profile, use_tags);
|
| return true;
|
| }
|
|
|
|
|