Skip to content

Commit 36622ff

Browse files
authored
Merge pull request eclipse-omr#7975 from thallium/jfr-mem-cat
Add OMRMEM_CATEGORY_11_CHILDREN macro
2 parents abf8684 + 56721c6 commit 36622ff

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

include_core/omrmemcategories.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ typedef struct OMRMemCategorySet {
126126
#define OMRMEM_CATEGORY_10_CHILDREN(description, code, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10) \
127127
static uint32_t _omrmem_##code##_child_categories[] = {c1, c2, c3, c4, c5, c6, c7, c8, c9, c10}; \
128128
static OMRMemCategory _omrmem_category_##code = {description, code, 0, 0, 10, _omrmem_##code##_child_categories}
129+
#define OMRMEM_CATEGORY_11_CHILDREN(description, code, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11) \
130+
static uint32_t _omrmem_##code##_child_categories[] = {c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11}; \
131+
static OMRMemCategory _omrmem_category_##code = {description, code, 0, 0, 11, _omrmem_##code##_child_categories}
129132

130133
#define CATEGORY_TABLE_ENTRY(name) &_omrmem_category_##name
131134

0 commit comments

Comments
 (0)