David Goldblatt
126e9a84a5
Hooks: move the "extra" pointer into the hook_t itself.
...
This simplifies the mallctl call to install a hook, which should only take a
single argument.
2018-05-18 11:43:03 -07:00
David Goldblatt
cb0707c0fc
Hooks: hook the realloc pathways that move/expand.
2018-05-18 11:43:03 -07:00
David Goldblatt
67270040a5
Hooks: hook the realloc paths that act as pure malloc/free.
2018-05-18 11:43:03 -07:00
David Goldblatt
226327cf66
Hooks: hook the pure-allocation functions.
2018-05-18 11:43:03 -07:00
David Goldblatt
5ae6e7cbfa
Add "hook" module.
...
The hook module allows a low-reader-overhead way of finding hooks to invoke and
calling them.
For now, none of the allocation pathways are tied into the hooks; this will come
later.
2018-05-18 11:43:03 -07:00