| Index: runtime/vm/profiler.h
|
| diff --git a/runtime/vm/profiler.h b/runtime/vm/profiler.h
|
| index 149f3826d99601cf1892e49a021be2b88923b90f..2308d013d0e1fcae55d342fbf8b7846fefbe59a4 100644
|
| --- a/runtime/vm/profiler.h
|
| +++ b/runtime/vm/profiler.h
|
| @@ -24,6 +24,14 @@ class SampleBuffer;
|
| // Profiler
|
| class Profiler : public AllStatic {
|
| public:
|
| + enum TagOrder {
|
| + kNoTags,
|
| + kUser,
|
| + kUserVM,
|
| + kVM,
|
| + kVMUser
|
| + };
|
| +
|
| static void InitOnce();
|
| static void Shutdown();
|
|
|
| @@ -38,7 +46,7 @@ class Profiler : public AllStatic {
|
| static void EndExecution(Isolate* isolate);
|
|
|
| static void PrintToJSONStream(Isolate* isolate, JSONStream* stream,
|
| - bool full, bool use_tags);
|
| + bool full, TagOrder tag_order);
|
| static void WriteProfile(Isolate* isolate);
|
|
|
| static SampleBuffer* sample_buffer() {
|
|
|