| Index: runtime/vm/service.cc
|
| diff --git a/runtime/vm/service.cc b/runtime/vm/service.cc
|
| index aca3a5b713494324f3422d90d58114bc74e91dee..5f174277c02e86f3bc99b7a8acc594c3612df15e 100644
|
| --- a/runtime/vm/service.cc
|
| +++ b/runtime/vm/service.cc
|
| @@ -2403,7 +2403,7 @@ static bool GetCoverage(Thread* thread, JSONStream* js) {
|
| static const char* kCallSitesStr = "_CallSites";
|
| static const char* kCoverageStr = "Coverage";
|
| static const char* kPossibleBreakpointsStr = "PossibleBreakpoints";
|
| -
|
| +static const char* kProfile = "Profile";
|
|
|
| static const char* const report_enum_names[] = {
|
| kCallSitesStr,
|
| @@ -2442,6 +2442,8 @@ static bool GetSourceReport(Thread* thread, JSONStream* js) {
|
| report_set |= SourceReport::kCoverage;
|
| } else if (strcmp(*reports, kPossibleBreakpointsStr) == 0) {
|
| report_set |= SourceReport::kPossibleBreakpoints;
|
| + } else if (strcmp(*reports, kProfile) == 0) {
|
| + report_set |= SourceReport::kProfile;
|
| }
|
| reports++;
|
| }
|
|
|