1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
17 typedef unsigned long u_long
;
20 #define JP_FIRST_AFTER_PAUSE 1
22 // Format of a jprof log entry. This is what's written out to the
24 // It's called malloc_log_entry because the history of jprof is that
25 // it's a modified version of tracemalloc.
26 struct malloc_log_entry
{
31 char* pcs
[MAX_STACK_CRAWL
];
34 // Format of a malloc map entry; after this struct is nameLen+1 bytes of
36 struct malloc_map_entry
{
38 u_long address
; // base address
42 } /* end of extern "C" */
45 #endif /* libmalloc_h___ */