Skip to content
Permalink
Browse files

Fri Feb 03 15:40:45 2012 Google Inc. <google-perftools@googlegroups.com>

	* gperftools: version 2.0
	* Renamed the project from google-perftools to gperftools (csilvers)
	* Renamed the .deb/.rpm packagse from google-perftools to gperftools too
	* Renamed include directory from google/ to gperftools/ (csilvers)
	* Changed the 'official' perftools email in setup.py/etc
	* Renamed google-perftools.sln to gperftools.sln
	* PORTING: Removed bash-isms & grep -q in heap-checker-death_unittest.sh
	* Changed copyright text to reflect Google's relinquished ownership


git-svn-id: http://gperftools.googlecode.com/svn/trunk@142 6b5cf1ce-ec42-a296-1ba9-69fdba395a50
  • Loading branch information...
csilvers
csilvers committed Feb 4, 2012
1 parent e10b720 commit 4e9432c5090d5b8354b0b57fca8b96b2efef37e3
Showing with 4,384 additions and 3,185 deletions.
  1. +1 −1 AUTHORS
  2. +11 −0 ChangeLog
  3. +3 −3 INSTALL
  4. +60 −36 Makefile.am
  5. +1,156 −914 Makefile.in
  6. +36 −2 NEWS
  7. +4 −4 README
  8. +5 −5 README_windows.txt
  9. +110 −86 aclocal.m4
  10. +19 −9 config.guess
  11. +38 −6 config.sub
  12. +151 −158 configure
  13. +10 −9 configure.ac
  14. +76 −17 depcomp
  15. +3 −3 doc/cpuprofile.html
  16. +0 −6 doc/designstyle.css
  17. +2 −2 doc/heap_checker.html
  18. +2 −2 doc/heapprofile.html
  19. +2 −3 doc/index.html
  20. +4 −4 doc/pprof.1
  21. +2 −2 doc/pprof.see_also
  22. +3 −3 doc/pprof_remote_servers.html
  23. 0 google-perftools.sln → gperftools.sln
  24. +355 −159 install-sh
  25. +34 −27 missing
  26. +4 −1 mkinstalldirs
  27. +7 −0 packages/deb/changelog
  28. +8 −8 packages/deb/control
  29. +3 −3 packages/deb/copyright
  30. +1 −0 packages/deb/{libgoogle-perftools-dev.dirs → libgperftools-dev.dirs}
  31. +2 −0 packages/deb/{libgoogle-perftools-dev.install → libgperftools-dev.install}
  32. 0 packages/deb/{libgoogle-perftools0.dirs → libgperftools0.dirs}
  33. 0 packages/deb/{libgoogle-perftools0.install → libgperftools0.install}
  34. 0 packages/deb/{libgoogle-perftools0.manpages → libgperftools0.manpages}
  35. +4 −3 packages/rpm/rpm.spec
  36. +1 −1 src/base/low_level_alloc.cc
  37. +3 −3 src/config.h.in
  38. +3 −3 src/debugallocation.cc
  39. +4 −394 src/google/heap-checker.h
  40. +3 −73 src/google/heap-profiler.h
  41. +4 −371 src/google/malloc_extension.h
  42. +3 −68 src/google/malloc_extension_c.h
  43. +4 −329 src/google/malloc_hook.h
  44. +3 −142 src/google/malloc_hook_c.h
  45. +3 −137 src/google/profiler.h
  46. +4 −87 src/google/stacktrace.h
  47. +34 −0 src/google/tcmalloc.h
  48. +424 −0 src/gperftools/heap-checker.h
  49. +104 −0 src/gperftools/heap-profiler.h
  50. +400 −0 src/gperftools/malloc_extension.h
  51. +99 −0 src/gperftools/malloc_extension_c.h
  52. +358 −0 src/gperftools/malloc_hook.h
  53. +173 −0 src/gperftools/malloc_hook_c.h
  54. +168 −0 src/gperftools/profiler.h
  55. +116 −0 src/gperftools/stacktrace.h
  56. +1 −1 src/{google → gperftools}/tcmalloc.h.in
  57. +1 −1 src/heap-checker-bcad.cc
  58. +5 −5 src/heap-checker.cc
  59. +2 −2 src/heap-profile-table.cc
  60. +3 −3 src/heap-profiler.cc
  61. +1 −1 src/internal_logging.cc
  62. +1 −1 src/libc_override.h
  63. +1 −1 src/libc_override_gcc_and_weak.h
  64. +1 −1 src/libc_override_glibc.h
  65. +1 −1 src/libc_override_osx.h
  66. +3 −3 src/malloc_extension.cc
  67. +1 −1 src/malloc_hook-inl.h
  68. +2 −2 src/malloc_hook.cc
  69. +1 −1 src/memfs_malloc.cc
  70. +2 −2 src/memory_region_map.cc
  71. +1 −1 src/page_heap.cc
  72. +2 −2 src/page_heap.h
  73. +5 −5 src/pprof
  74. +2 −2 src/profiler.cc
  75. +1 −1 src/stacktrace.cc
  76. +1 −1 src/stacktrace_arm-inl.h
  77. +1 −1 src/stacktrace_generic-inl.h
  78. +1 −1 src/stacktrace_libunwind-inl.h
  79. +1 −1 src/stacktrace_powerpc-inl.h
  80. +1 −1 src/stacktrace_win32-inl.h
  81. +1 −1 src/stacktrace_x86-inl.h
  82. +1 −1 src/system-alloc.cc
  83. +3 −3 src/tcmalloc.cc
  84. +1 −1 src/tests/current_allocated_bytes_test.cc
  85. +1 −1 src/tests/debugallocation_test.cc
  86. +1 −1 src/tests/frag_unittest.cc
  87. +5 −5 src/tests/heap-checker-death_unittest.sh
  88. +3 −3 src/tests/heap-checker_unittest.cc
  89. +1 −1 src/tests/heap-profiler_unittest.cc
  90. +1 −1 src/tests/low_level_alloc_unittest.cc
  91. +2 −2 src/tests/malloc_extension_c_test.c
  92. +2 −2 src/tests/malloc_extension_test.cc
  93. +1 −1 src/tests/malloc_hook_test.cc
  94. +1 −1 src/tests/markidle_unittest.cc
  95. +1 −1 src/tests/profiler_unittest.cc
  96. +1 −1 src/tests/sampling_test.cc
  97. +67 −0 src/tests/simple_compat_test.cc
  98. +1 −1 src/tests/stacktrace_unittest.cc
  99. +1 −1 src/tests/system-alloc_unittest.cc
  100. +3 −3 src/tests/tcmalloc_unittest.cc
  101. +1 −1 src/tests/thread_dealloc_unittest.cc
  102. +155 −0 src/windows/auto_testing_hook.h
  103. +5 −5 src/windows/config.h
  104. +34 −0 src/windows/google/tcmalloc.h
  105. +1 −1 src/windows/{google → gperftools}/tcmalloc.h.in
  106. +1 −1 src/windows/patch_functions.cc
  107. +1 −1 vsprojects/current_allocated_bytes_test/current_allocated_bytes_test.vcproj
  108. +6 −6 vsprojects/libtcmalloc_minimal/libtcmalloc_minimal.vcproj
  109. +3 −3 vsprojects/low_level_alloc_unittest/low_level_alloc_unittest.vcproj
  110. +2 −2 vsprojects/malloc_extension_test/malloc_extension_test.vcproj
  111. +1 −1 vsprojects/malloc_hook_test/malloc_hook_test.vcproj
  112. +7 −7 vsprojects/tmu-static/tmu-static.vcproj
@@ -1,2 +1,2 @@
opensource@google.com
google-perftools@googlegroups.com

@@ -1,3 +1,14 @@
Fri Feb 03 15:40:45 2012 Google Inc. <google-perftools@googlegroups.com>

* gperftools: version 2.0
* Renamed the project from google-perftools to gperftools (csilvers)
* Renamed the .deb/.rpm packagse from google-perftools to gperftools too
* Renamed include directory from google/ to gperftools/ (csilvers)
* Changed the 'official' perftools email in setup.py/etc
* Renamed google-perftools.sln to gperftools.sln
* PORTING: Removed bash-isms & grep -q in heap-checker-death_unittest.sh
* Changed copyright text to reflect Google's relinquished ownership

Tue Jan 31 10:43:50 2012 Google Inc. <opensource@google.com>

* google-perftools: version 1.10 release
@@ -18,8 +18,8 @@ malloc recursively, which may require the thread to acquire a lock it
already holds: deadlock.)

For that reason, if you use a 64-bit system, we strongly recommend you
install libunwind before trying to configure or install google
perftools. libunwind can be found at
install libunwind before trying to configure or install gperftools.
libunwind can be found at

http://download.savannah.gnu.org/releases/libunwind/libunwind-0.99-beta.tar.gz

@@ -29,7 +29,7 @@ versions introduce new code that does not work well with perftools
(because libunwind can call malloc, which will lead to deadlock).

There have been reports of crashes with libunwind 0.99 (see
http://code.google.com/p/google-perftools/issues/detail?id=374).
http://code.google.com/p/gperftools/issues/detail?id=374).
Alternately, you can use a more recent libunwind (e.g. 1.0.1) at the
cost of adding a bit of boilerplate to your code. For details, see
http://groups.google.com/group/google-perftools/msg/2686d9f24ac4365f
@@ -7,7 +7,7 @@
# Make sure that when we re-make ./configure, we get the macros we need
ACLOCAL_AMFLAGS = -I m4

# This is so we can #include <google/foo>
# This is so we can #include <gperftools/foo>
AM_CPPFLAGS = -I$(top_srcdir)/src

if !WITH_STACK_TRACE
@@ -99,14 +99,30 @@ endif !HAVE_OBJCOPY_WEAKEN

LIBS_TO_WEAKEN =

googleincludedir = $(includedir)/google
perftoolsincludedir = $(includedir)/gperftools
# The .h files you want to install (that is, .h files that people
# who install this package can include in their own applications.)
# We'll add to this later, on a library-by-library basis
googleinclude_HEADERS =
perftoolsinclude_HEADERS =
# tcmalloc.h is a special case, because it's a .h.in file
nodist_googleinclude_HEADERS = src/google/tcmalloc.h
noinst_HEADERS = src/google/tcmalloc.h.in
nodist_perftoolsinclude_HEADERS = src/gperftools/tcmalloc.h
noinst_HEADERS = src/gperftools/tcmalloc.h.in

# This is provided for backwards compatibility. It is populated by
# files that just forward to the canonical location in
# perftoolsincludedir.
googleincludedir = $(includedir)/google
googleinclude_HEADERS = \
src/google/heap-checker.h \
src/google/heap-profiler.h \
src/google/malloc_extension.h \
src/google/malloc_extension_c.h \
src/google/malloc_hook.h \
src/google/malloc_hook_c.h \
src/google/profiler.h \
src/google/stacktrace.h \
src/google/tcmalloc.h \
src/windows/google/tcmalloc.h

docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)
# This is for HTML and other documentation you want to install.
@@ -122,7 +138,7 @@ lib_LTLIBRARIES =
# This is for 'convenience libraries' -- basically just a container for sources
noinst_LTLIBRARIES =
## The location of the windows project file for each binary we make
WINDOWS_PROJECTS = google-perftools.sln
WINDOWS_PROJECTS = gperftools.sln

# unittests you want to run when people type 'make check'.
# Note: tests cannot take any arguments!
@@ -280,8 +296,8 @@ TESTS += low_level_alloc_unittest
WINDOWS_PROJECTS += vsprojects/low_level_alloc_unittest/low_level_alloc_unittest.vcproj
LOW_LEVEL_ALLOC_UNITTEST_INCLUDES = src/base/low_level_alloc.h \
src/base/basictypes.h \
src/google/malloc_hook.h \
src/google/malloc_hook_c.h \
src/gperftools/malloc_hook.h \
src/gperftools/malloc_hook_c.h \
src/malloc_hook-inl.h \
src/malloc_hook_mmap_linux.h \
src/malloc_hook_mmap_freebsd.h \
@@ -323,9 +339,9 @@ S_STACKTRACE_INCLUDES = src/stacktrace_config.h \
src/base/elf_mem_image.h \
src/base/vdso_support.h

SG_STACKTRACE_INCLUDES = src/google/stacktrace.h
SG_STACKTRACE_INCLUDES = src/gperftools/stacktrace.h
STACKTRACE_INCLUDES = $(S_STACKTRACE_INCLUDES) $(SG_STACKTRACE_INCLUDES)
googleinclude_HEADERS += $(SG_STACKTRACE_INCLUDES)
perftoolsinclude_HEADERS += $(SG_STACKTRACE_INCLUDES)

### Making the library
noinst_LTLIBRARIES += libstacktrace.la
@@ -413,13 +429,13 @@ S_TCMALLOC_MINIMAL_INCLUDES = src/common.h \
src/malloc_hook_mmap_linux.h \
src/malloc_hook_mmap_freebsd.h \
src/maybe_threads.h
SG_TCMALLOC_MINIMAL_INCLUDES = src/google/malloc_hook.h \
src/google/malloc_hook_c.h \
src/google/malloc_extension.h \
src/google/malloc_extension_c.h \
src/google/stacktrace.h
SG_TCMALLOC_MINIMAL_INCLUDES = src/gperftools/malloc_hook.h \
src/gperftools/malloc_hook_c.h \
src/gperftools/malloc_extension.h \
src/gperftools/malloc_extension_c.h \
src/gperftools/stacktrace.h
TCMALLOC_MINIMAL_INCLUDES = $(S_TCMALLOC_MINIMAL_INCLUDES) $(SG_TCMALLOC_MINIMAL_INCLUDES)
googleinclude_HEADERS += $(SG_TCMALLOC_MINIMAL_INCLUDES)
perftoolsinclude_HEADERS += $(SG_TCMALLOC_MINIMAL_INCLUDES)

### Making the library

@@ -478,9 +494,9 @@ LIBS_TO_WEAKEN += libtcmalloc_minimal.la
# Commented out for the moment because malloc(very_big_num) is broken in
# standard libc! At least, in some situations, some of the time.
## TESTS += malloc_unittest
## MALLOC_UNITEST_INCLUDES = src/google/malloc_extension.h \
## src/google/malloc_hook.h \
## src/google/malloc_hook_c.h \
## MALLOC_UNITEST_INCLUDES = src/gperftools/malloc_extension.h \
## src/gperftools/malloc_hook.h \
## src/gperftools/malloc_hook_c.h \
## src/malloc_hook-inl.h \
## src/malloc_hook_mmap_linux.h \
## src/malloc_hook_mmap_freebsd.h \
@@ -601,7 +617,7 @@ WINDOWS_PROJECTS += vsprojects/malloc_hook_test/malloc_hook_test.vcproj
malloc_hook_test_SOURCES = src/tests/malloc_hook_test.cc \
src/config_for_unittests.h \
src/base/logging.h \
src/google/malloc_hook.h \
src/gperftools/malloc_hook.h \
src/tests/testutil.h src/tests/testutil.cc
malloc_hook_test_CXXFLAGS = $(PTHREAD_CFLAGS) $(AM_CXXFLAGS)
malloc_hook_test_LDFLAGS = $(PTHREAD_CFLAGS) $(TCMALLOC_FLAGS)
@@ -612,8 +628,8 @@ WINDOWS_PROJECTS += vsprojects/malloc_extension_test/malloc_extension_test.vcpro
malloc_extension_test_SOURCES = src/tests/malloc_extension_test.cc \
src/config_for_unittests.h \
src/base/logging.h \
src/google/malloc_extension.h \
src/google/malloc_extension_c.h
src/gperftools/malloc_extension.h \
src/gperftools/malloc_extension_c.h
malloc_extension_test_CXXFLAGS = $(PTHREAD_CFLAGS) $(AM_CXXFLAGS)
malloc_extension_test_LDFLAGS = $(PTHREAD_CFLAGS) $(TCMALLOC_FLAGS)
malloc_extension_test_LDADD = $(LIBTCMALLOC_MINIMAL) $(PTHREAD_LIBS)
@@ -626,8 +642,8 @@ if !MINGW
if !ENABLE_STATIC
TESTS += malloc_extension_c_test
malloc_extension_c_test_SOURCES = src/tests/malloc_extension_c_test.c \
src/google/malloc_extension.h \
src/google/malloc_extension_c.h
src/gperftools/malloc_extension.h \
src/gperftools/malloc_extension_c.h
malloc_extension_c_test_CFLAGS = $(PTHREAD_CFLAGS) $(AM_CFLAGS)
# -ansi here is just to help ensure the code is bog-standard C.
if GCC
@@ -827,10 +843,10 @@ S_TCMALLOC_INCLUDES = $(S_TCMALLOC_MINIMAL_INCLUDES) \
src/base/thread_lister.h \
src/heap-profile-table.h
SG_TCMALLOC_INCLUDES = $(SG_TCMALLOC_MINIMAL_INCLUDES) \
src/google/heap-profiler.h \
src/google/heap-checker.h
src/gperftools/heap-profiler.h \
src/gperftools/heap-checker.h
TCMALLOC_INCLUDES = $(S_TCMALLOC_INCLUDES) $(SG_TCMALLOC_INCLUDES)
googleinclude_HEADERS += $(SG_TCMALLOC_INCLUDES)
perftoolsinclude_HEADERS += $(SG_TCMALLOC_INCLUDES)

### Making the library

@@ -881,7 +897,7 @@ LIBS_TO_WEAKEN += libtcmalloc.la

TESTS += tcmalloc_unittest
TCMALLOC_UNITTEST_INCLUDES = src/config_for_unittests.h \
src/google/malloc_extension.h
src/gperftools/malloc_extension.h
tcmalloc_unittest_SOURCES = src/tests/tcmalloc_unittest.cc \
src/tcmalloc.h \
src/tests/testutil.h src/tests/testutil.cc \
@@ -973,7 +989,7 @@ sampling_test.sh$(EXEEXT): $(top_srcdir)/$(sampling_test_sh_SOURCES) \
noinst_PROGRAMS += sampling_test
SAMPLING_TEST_INCLUDES = src/config_for_unittests.h \
src/base/logging.h \
src/google/malloc_extension.h
src/gperftools/malloc_extension.h
sampling_test_SOURCES = src/tests/sampling_test.cc \
$(SAMPLING_TEST_INCLUDES)
sampling_test_CXXFLAGS = -g $(PTHREAD_CFLAGS) $(AM_CXXFLAGS)
@@ -995,13 +1011,21 @@ heap-profiler_unittest.sh$(EXEEXT): $(top_srcdir)/$(heap_profiler_unittest_sh_SO
# These are sub-programs used by heap-profiler_unittest.sh
noinst_PROGRAMS += heap-profiler_unittest
HEAP_PROFILER_UNITTEST_INCLUDES = src/config_for_unittests.h \
src/google/heap-profiler.h
src/gperftools/heap-profiler.h
heap_profiler_unittest_SOURCES = src/tests/heap-profiler_unittest.cc \
$(HEAP_PROFILER_UNITTEST_INCLUDES)
heap_profiler_unittest_CXXFLAGS = -g $(PTHREAD_CFLAGS) $(AM_CXXFLAGS)
heap_profiler_unittest_LDFLAGS = -g $(PTHREAD_CFLAGS) $(TCMALLOC_FLAGS)
heap_profiler_unittest_LDADD = $(LIBTCMALLOC) $(PTHREAD_LIBS)

# Tests the compatibility include-headers in google/. Requires a function
# defined in the heap-profiler, which is why the test lives here.
TESTS += simple_compat_test
simple_compat_test_SOURCES = src/tests/simple_compat_test.cc \
$(googleinclude_HEADERS)
simple_compat_test_LDFLAGS = $(TCMALLOC_FLAGS)
simple_compat_test_LDADD = $(LIBTCMALLOC)

endif WITH_HEAP_PROFILER

if WITH_HEAP_CHECKER
@@ -1028,7 +1052,7 @@ HEAP_CHECKER_UNITTEST_INCLUDES = src/config_for_unittests.h \
src/memory_region_map.h \
src/base/commandlineflags.h \
src/base/googleinit.h \
src/google/heap-checker.h \
src/gperftools/heap-checker.h \
$(LOGGING_INCLUDES)
heap_checker_unittest_SOURCES = src/tests/heap-checker_unittest.cc \
$(HEAP_CHECKER_UNITTEST_INCLUDES)
@@ -1162,10 +1186,10 @@ S_CPU_PROFILER_INCLUDES = src/profiledata.h \
src/base/sysinfo.h \
$(SPINLOCK_INCLUDES) \
$(LOGGING_INCLUDES)
SG_CPU_PROFILER_INCLUDES = src/google/profiler.h \
src/google/stacktrace.h
SG_CPU_PROFILER_INCLUDES = src/gperftools/profiler.h \
src/gperftools/stacktrace.h
CPU_PROFILER_INCLUDES = $(S_CPU_PROFILER_INCLUDES) $(SG_CPU_PROFILER_INCLUDES)
googleinclude_HEADERS += $(SG_CPU_PROFILER_INCLUDES)
perftoolsinclude_HEADERS += $(SG_CPU_PROFILER_INCLUDES)

### Making the library
lib_LTLIBRARIES += libprofiler.la
@@ -1217,7 +1241,7 @@ profiler_unittest.sh$(EXEEXT): $(top_srcdir)/$(profiler_unittest_sh_SOURCES) \
noinst_PROGRAMS += profiler1_unittest profiler2_unittest profiler3_unittest \
profiler4_unittest
PROFILER_UNITTEST_INCLUDES = src/config_for_unittests.h \
src/google/profiler.h
src/gperftools/profiler.h
PROFILER_UNITTEST_SRCS = src/tests/profiler_unittest.cc \
src/tests/testutil.h src/tests/testutil.cc \
$(PROFILER_UNITTEST_INCLUDES)
@@ -1357,6 +1381,6 @@ dist-hook:
EXTRA_DIST = packages/rpm.sh packages/rpm/rpm.spec packages/deb.sh packages/deb \
$(SCRIPTS) libtool \
src/windows/get_mangled_names.cc src/windows/override_functions.cc \
src/windows/config.h src/windows/google/tcmalloc.h \
src/windows/config.h src/windows/gperftools/tcmalloc.h \
$(WINDOWS_PROJECTS) \
src/solaris/libstdc++.la

0 comments on commit 4e9432c

Please sign in to comment.
You can’t perform that action at this time.