about summary refs log tree commit diff
path: root/absl/base/internal/malloc_hook_c.h
diff options
context:
space:
mode:
Diffstat (limited to 'absl/base/internal/malloc_hook_c.h')
-rw-r--r--absl/base/internal/malloc_hook_c.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/absl/base/internal/malloc_hook_c.h b/absl/base/internal/malloc_hook_c.h
index ed41143a2020..7255ddc22900 100644
--- a/absl/base/internal/malloc_hook_c.h
+++ b/absl/base/internal/malloc_hook_c.h
@@ -37,6 +37,7 @@ typedef struct {
   /* See malloc_hook.h  for documentation for this struct. */
   MallocHook_AllocHandle handle;
   size_t allocated_size;
+  double weight;
   int stack_depth;
   const void* stack;
 } MallocHook_SampledAlloc;