diff options
author | csilvers <csilvers@6b5cf1ce-ec42-a296-1ba9-69fdba395a50> | 2007-03-22 04:55:49 +0000 |
---|---|---|
committer | csilvers <csilvers@6b5cf1ce-ec42-a296-1ba9-69fdba395a50> | 2007-03-22 04:55:49 +0000 |
commit | 8e188310f7d8732d81b7b04f193f89964b7af6c5 (patch) | |
tree | fea586faa0bc381027f2f47aee513fc9ea4b6e96 /src/stacktrace.cc | |
parent | c3b96b3ac552160abde541bba8ac7b4f8338efa0 (diff) | |
download | gperftools-8e188310f7d8732d81b7b04f193f89964b7af6c5.tar.gz |
Wed Jun 14 15:11:14 2006 Google Inc. <opensource@google.com>
* google-perftools: version 0.8 release
* Experimental support for remote profiling added to pprof (many)
* Fixed race condition in ProfileData::FlushTable (etune)
* Better support for weird /proc maps (maxim, mec)
* Fix heap-checker interaction with gdb (markus)
* Better 64-bit support in pprof (aruns)
* Reduce scavenging cost in tcmalloc by capping NumMoveSize (sanjay)
* Cast syscall(SYS_mmap); works on more 64-bit systems now (menage)
* Document the text output of pprof! (csilvers)
* Better compiler support for no-THREADS and for old compilers (csilvers)
* Make libunwind the default stack unwinder for x86-64 (aruns)
* Somehow the COPYING file got erased. Regenerate it (csilvers)
git-svn-id: http://gperftools.googlecode.com/svn/trunk@23 6b5cf1ce-ec42-a296-1ba9-69fdba395a50
Diffstat (limited to 'src/stacktrace.cc')
-rw-r--r-- | src/stacktrace.cc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/stacktrace.cc b/src/stacktrace.cc index 859d52a..da20659 100644 --- a/src/stacktrace.cc +++ b/src/stacktrace.cc @@ -45,17 +45,14 @@ #include "stacktrace_x86-inl.h" #endif -#if !defined(IMPLEMENTED_STACK_TRACE) && defined(USE_LIBUNWIND) && HAVE_LIBUNWIND_H +#if !defined(IMPLEMENTED_STACK_TRACE) && defined(__x86_64__) && HAVE_LIBUNWIND_H #define IMPLEMENTED_STACK_TRACE -// This is turned off by default. Possible reasons for turning on in the -// future: -// 1. Compiler independence -// 2. Architecture independence -// 3. A more liberal MIT license, which allows use with multiple compilers +#define UNW_LOCAL_ONLY #include "stacktrace_libunwind-inl.h" #endif #if !defined(IMPLEMENTED_STACK_TRACE) && defined(__x86_64__) && HAVE_UNWIND_H +// This implementation suffers from deadlocks. Don't enable it. #define IMPLEMENTED_STACK_TRACE #include "stacktrace_x86_64-inl.h" #endif |