Add release versioning support.

Base version string on 'git describe --long', and provide cpp
macros in jemalloc.h.

Add the version mallctl.
This commit is contained in:
Jason Evans
2010-03-02 13:01:16 -08:00
parent 22ca855e8f
commit a40bc7afe8
7 changed files with 33 additions and 2 deletions

View File

@@ -640,6 +640,11 @@ introspection.
@roff_stats@can be used to access the summation of statistics from all arenas.
.Bl -ohang
.\"-----------------------------------------------------------------------------
.It Sy "version (const char *) r-"
.Bd -ragged -offset indent -compact
Return the jemalloc version string.
.Ed
.\"-----------------------------------------------------------------------------
.It Sy "epoch (uint64_t) rw"
.Bd -ragged -offset indent -compact
If a value is passed in, refresh the data from which the