aboutsummaryrefslogtreecommitdiff
path: root/manual/probes.texi
diff options
context:
space:
mode:
authorOndřej Bílka <neleai@seznam.cz>2013-11-20 15:46:02 +0100
committerOndřej Bílka <neleai@seznam.cz>2013-11-20 15:46:02 +0100
commit10ad46bc6526edc5c7afcc57112da96917ff3629 (patch)
tree9bd94011a94320e7d8b4391be57cda1b1026a2b4 /manual/probes.texi
parent4712799fbb6812cc73f7bd9c8faa6e7b05c0f5ab (diff)
downloadglibc-10ad46bc6526edc5c7afcc57112da96917ff3629.tar
glibc-10ad46bc6526edc5c7afcc57112da96917ff3629.tar.gz
glibc-10ad46bc6526edc5c7afcc57112da96917ff3629.tar.bz2
glibc-10ad46bc6526edc5c7afcc57112da96917ff3629.zip
Consolidate valloc/pvalloc code.
To make malloc code more maintainable we make malloc and pvalloc share logic with memalign.
Diffstat (limited to 'manual/probes.texi')
-rw-r--r--manual/probes.texi5
1 files changed, 2 insertions, 3 deletions
diff --git a/manual/probes.texi b/manual/probes.texi
index 108f460148..7ba7bd32c3 100644
--- a/manual/probes.texi
+++ b/manual/probes.texi
@@ -71,8 +71,6 @@ heap is released. Argument @var{$arg1} is a pointer to the heap, and
@deftp Probe memory_malloc_retry (size_t @var{$arg1})
@deftpx Probe memory_realloc_retry (size_t @var{$arg1}, void *@var{$arg2})
@deftpx Probe memory_memalign_retry (size_t @var{$arg1}, size_t @var{$arg2})
-@deftpx Probe memory_valloc_retry (size_t @var{$arg1})
-@deftpx Probe memory_pvalloc_retry (size_t @var{$arg1})
@deftpx Probe memory_calloc_retry (size_t @var{$arg1})
These probes are triggered when the corresponding functions fail to
obtain the requested amount of memory from the arena in use, before they
@@ -83,7 +81,8 @@ computed from both function arguments. In the @code{realloc} case,
@var{$arg2} is the pointer to the memory area being resized. In the
@code{memalign} case, @var{$arg2} is the alignment to be used for the
request, which may be stricter than the value passed to the
-@code{memalign} function.
+@code{memalign} function. A @code{memalign} probe is also used by functions
+@code{posix_memalign, valloc} and @code{pvalloc}.
Note that the argument order does @emph{not} match that of the
corresponding two-argument functions, so that in all of these probes the