diff options
| author | David T. Goldblatt <davidtgoldblatt@gmail.com> | 2017-07-19 18:05:28 -0700 |
|---|---|---|
| committer | David Goldblatt <davidtgoldblatt@gmail.com> | 2017-07-20 17:58:37 -0700 |
| commit | e215a7bc18a2c3263a6fcca37c1ec53af6c4babd (patch) | |
| tree | 25748fd5a06f4add530a620ae0da99869b173970 /include/jemalloc | |
| parent | 9761b449c8c6b70abdb4cfa953e59847a84af406 (diff) | |
| download | platform_external_jemalloc_new-e215a7bc18a2c3263a6fcca37c1ec53af6c4babd.tar.gz platform_external_jemalloc_new-e215a7bc18a2c3263a6fcca37c1ec53af6c4babd.tar.bz2 platform_external_jemalloc_new-e215a7bc18a2c3263a6fcca37c1ec53af6c4babd.zip | |
Add entry and exit logging to all core functions.
I.e. mallloc, free, the allocx API, the posix extensions.
Diffstat (limited to 'include/jemalloc')
| -rw-r--r-- | include/jemalloc/internal/log.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/jemalloc/internal/log.h b/include/jemalloc/internal/log.h index 8413a4d6..1df8cfff 100644 --- a/include/jemalloc/internal/log.h +++ b/include/jemalloc/internal/log.h @@ -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. |
