mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-20 20:06:23 +03:00
Add entry and exit logging to all core functions.
I.e. mallloc, free, the allocx API, the posix extensions.
This commit is contained in:
parent
9761b449c8
commit
e215a7bc18
2 changed files with 204 additions and 1 deletions
|
|
@ -30,6 +30,12 @@
|
|||
* You can then log by writing:
|
||||
* log(log_var, "format string -- my int is %d", my_int);
|
||||
*
|
||||
* The namespaces currently in use:
|
||||
* core.[malloc|free|posix_memalign|...].[entry|exit]:
|
||||
* The entry/exit points of the functions publicly exposed by jemalloc.
|
||||
* The "entry" variants try to log arguments to the functions, and the
|
||||
* "exit" ones try to log return values.
|
||||
*
|
||||
* None of this should be regarded as a stable API for right now. It's intended
|
||||
* as a debugging interface, to let us keep around some of our printf-debugging
|
||||
* statements.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue