| Index: runtime/vm/profiler.h
|
| diff --git a/runtime/vm/profiler.h b/runtime/vm/profiler.h
|
| index b4a4d0b745eb653b584dbccd376f47d5cee0cd6f..d7406a238bb6191fd44662e6f6fc298c2c91f7b7 100644
|
| --- a/runtime/vm/profiler.h
|
| +++ b/runtime/vm/profiler.h
|
| @@ -472,6 +472,10 @@ class ProcessedSample : public ZoneAllocated {
|
| intptr_t allocation_cid() const { return allocation_cid_; }
|
| void set_allocation_cid(intptr_t cid) { allocation_cid_ = cid; }
|
|
|
| + bool IsAllocationSample() const {
|
| + return allocation_cid_ > 0;
|
| + }
|
| +
|
| // Was the stack trace truncated?
|
| bool truncated() const { return truncated_; }
|
| void set_truncated(bool truncated) { truncated_ = truncated; }
|
|
|