aboutsummaryrefslogtreecommitdiff
path: root/src/nstime.c
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2016-04-18 15:11:20 -0700
committerJason Evans <jasone@canonware.com>2016-04-18 15:23:35 -0700
commitab0cfe01fa354597d28303952d3b0f87d932f6d6 (patch)
tree02be1c9448c82c3222deff5708ef2c6e3784ae4d /src/nstime.c
parenta0c632c9d5d3fb31189ee85440b52579e37c85c1 (diff)
downloadjemalloc-ab0cfe01fa354597d28303952d3b0f87d932f6d6.tar.gz
Update private_symbols.txt.
Change test-related mangling to simplify symbol filtering. The following commands can be used to detect missing/obsolete symbol mangling, with the caveat that the full set of symbols is based on the union of symbols generated by all configurations, some of which are platform-specific: ./autogen.sh --enable-debug --enable-prof --enable-lazy-lock make all tests nm -a lib/libjemalloc.a src/*.jet.o \ |grep " [TDBCR] " \ |awk '{print $3}' \ |sed -e 's/^\(je_\|jet_\(n_\)\?\)\([a-zA-Z0-9_]*\)/\3/g' \ |LC_COLLATE=C sort -u \ |grep -v \ -e '^\(malloc\|calloc\|posix_memalign\|aligned_alloc\|realloc\|free\)$' \ -e '^\(m\|r\|x\|s\|d\|sd\|n\)allocx$' \ -e '^mallctl\(\|nametomib\|bymib\)$' \ -e '^malloc_\(stats_print\|usable_size\|message\)$' \ -e '^\(memalign\|valloc\)$' \ -e '^__\(malloc\|memalign\|realloc\|free\)_hook$' \ -e '^pthread_create$' \ > /tmp/private_symbols.txt
Diffstat (limited to 'src/nstime.c')
-rw-r--r--src/nstime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nstime.c b/src/nstime.c
index 4cf90b5..26e49dc 100644
--- a/src/nstime.c
+++ b/src/nstime.c
@@ -99,7 +99,7 @@ nstime_divide(const nstime_t *time, const nstime_t *divisor)
#ifdef JEMALLOC_JET
#undef nstime_update
-#define nstime_update JEMALLOC_N(nstime_update_impl)
+#define nstime_update JEMALLOC_N(n_nstime_update)
#endif
bool
nstime_update(nstime_t *time)
@@ -144,5 +144,5 @@ nstime_update(nstime_t *time)
#ifdef JEMALLOC_JET
#undef nstime_update
#define nstime_update JEMALLOC_N(nstime_update)
-nstime_update_t *nstime_update = JEMALLOC_N(nstime_update_impl);
+nstime_update_t *nstime_update = JEMALLOC_N(n_nstime_update);
#endif