diff options
| author | DJ Delorie <dj@delorie.com> | 2016-07-21 15:33:27 -0400 |
|---|---|---|
| committer | DJ Delorie <dj@delorie.com> | 2016-07-21 15:33:27 -0400 |
| commit | b096a21663259fa02087697b919f54874e8e98f4 (patch) | |
| tree | 77f8fe0ebaac038d420be4d1c2c9f7e5c5b63091 /malloc/mtrace.h | |
| parent | 9c879c0b3140f891ac783e009d49ff8a907fcb9a (diff) | |
| download | glibc-b096a21663259fa02087697b919f54874e8e98f4.tar.xz glibc-b096a21663259fa02087697b919f54874e8e98f4.zip | |
Add various bin-related trace path flags
Diffstat (limited to 'malloc/mtrace.h')
| -rw-r--r-- | malloc/mtrace.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/malloc/mtrace.h b/malloc/mtrace.h index 6ce663deb0..b151f479f8 100644 --- a/malloc/mtrace.h +++ b/malloc/mtrace.h @@ -34,7 +34,13 @@ struct __malloc_trace_buffer_s { uint32_t path_munmap:1; /* munmap was called */ uint32_t path_m_f_realloc:1; /* realloc became malloc/free (i.e. next few records) */ uint32_t path_hook:1; /* A hook was used to complete the request */ - uint32_t path:16; /* remaining bits */ + uint32_t path_unsorted_add:1; /* something was added to the unsorted bin */ + uint32_t path_unsorted_remove:1; /* something was removed from the unsorted bin */ + uint32_t path_unsorted_empty:1; /* the unsorted bin was emptied */ + uint32_t path_fastbin_add:1; /* something was added to a fastbin */ + uint32_t path_fastbin_remove:1; /* something was removed from a fastbin */ + uint32_t path_malloc_consolidate:1; /* something was removed from a fastbin */ + uint32_t path:10; /* remaining bits */ /* FREE - pointer to allocation to free. REALLOC - pointer to original allocation. |
