summaryrefslogtreecommitdiffstats
path: root/jemalloc/include
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2011-03-16 05:23:12 (GMT)
committerJason Evans <je@fb.com>2011-03-16 05:23:12 (GMT)
commit77f350be08c8b9cd03ceed820b3113dbac9b4151 (patch)
treea26c786f284864d3bf0080a4d3ec16fe8bb18a50 /jemalloc/include
parentb602daa6710dab61d8e1ca0cd3c44ac8a564fd9f (diff)
downloadjemalloc-77f350be08c8b9cd03ceed820b3113dbac9b4151.zip
jemalloc-77f350be08c8b9cd03ceed820b3113dbac9b4151.tar.gz
jemalloc-77f350be08c8b9cd03ceed820b3113dbac9b4151.tar.bz2
Improve backtracing-related configuration.
Clean up configuration for backtracing when profiling is enabled, and document the configuration logic in INSTALL. Disable libgcc-based backtracing except on x64 (where it is known to work). Add the --disable-prof-gcc option.
Diffstat (limited to 'jemalloc/include')
-rw-r--r--jemalloc/include/jemalloc/jemalloc_defs.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/jemalloc/include/jemalloc/jemalloc_defs.h.in b/jemalloc/include/jemalloc/jemalloc_defs.h.in
index 5f46c5c..773c9f8 100644
--- a/jemalloc/include/jemalloc/jemalloc_defs.h.in
+++ b/jemalloc/include/jemalloc/jemalloc_defs.h.in
@@ -53,6 +53,9 @@
/* Use libgcc for profile backtracing if defined. */
#undef JEMALLOC_PROF_LIBGCC
+/* Use gcc intrinsics for profile backtracing if defined. */
+#undef JEMALLOC_PROF_GCC
+
/*
* JEMALLOC_TINY enables support for tiny objects, which are smaller than one
* quantum.