diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2017-09-04 08:14:38 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-09-05 07:20:01 -0400 |
commit | 822abbb1b4300ebaa3f12014b9fc477261283143 (patch) | |
tree | 2914b75c08af6713f3775d5d0eadd48bc10a3e9b /includes | |
parent | c2881a23319d91c6e1301a6fd149ca37a3bcfc1e (diff) | |
download | haskell-822abbb1b4300ebaa3f12014b9fc477261283143.tar.gz |
eventlog: Clean up profiling heap breakdown type
Reviewers: austin, erikd, simonmar
Subscribers: rwbarton, thomie
GHC Trac Issues: #14096
Differential Revision: https://phabricator.haskell.org/D3923
Diffstat (limited to 'includes')
-rw-r--r-- | includes/rts/EventLogFormat.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/includes/rts/EventLogFormat.h b/includes/rts/EventLogFormat.h index f839be04a1..d7b465a3ac 100644 --- a/includes/rts/EventLogFormat.h +++ b/includes/rts/EventLogFormat.h @@ -231,6 +231,18 @@ #define CAPSET_TYPE_OSPROCESS 2 /* caps belong to the same OS process */ #define CAPSET_TYPE_CLOCKDOMAIN 3 /* caps share a local clock/time */ +/* + * Heap profile breakdown types. See EVENT_HEAP_PROF_BEGIN. + */ +typedef enum { + HEAP_PROF_BREAKDOWN_COST_CENTRE = 0x1, + HEAP_PROF_BREAKDOWN_MODULE, + HEAP_PROF_BREAKDOWN_CLOSURE_DESCR, + HEAP_PROF_BREAKDOWN_TYPE_DESCR, + HEAP_PROF_BREAKDOWN_RETAINER, + HEAP_PROF_BREAKDOWN_BIOGRAPHY, +} HeapProfBreakdown; + #if !defined(EVENTLOG_CONSTANTS_ONLY) typedef StgWord16 EventTypeNum; |