Accepting request 378351 from devel:libraries:c_c++
- gperftools 2.5, available 12 March 2016. See https://github.com/gperftools/gperftools/releases * Bryan Chan has contributed s390x support * stacktrace capturing via libgcc's _Unwind_Backtrace was implemented (for architectures with missing or broken libunwind). * "emergency malloc" was implemented. Which unbreaks recursive calls to malloc/free from stacktrace capturing functions (such us glib'c backtrace() or libunwind on arm). It is enabled by --enable-emergency-malloc configure flag or by default on arm when --enable-stacktrace-via-backtrace is given. It is another fix for a number common issues people had on platforms with missing or broken libunwind. * C++14 sized-deallocation is now supported (on gcc 5 and recent clangs). It is off by default and can be enabled at configure time via --enable-sized-delete. On GNU/Linux it can also be enabled at run-time by either TCMALLOC_ENABLE_SIZED_DELETE environment variable or by defining tcmalloc_sized_delete_enabled function which should return 1 to enable it. * we've lowered default value of transfer batch size to 512. Previous value (bumped up in 2.1) was too high and caused performance regression for some users. 512 should still give us performance boost for workloads that need higher transfer batch size while not penalizing other workloads too much. * Brian Silverman's patch finally stopped arming profiling timer unless profiling is started. * Andrew Morrow has contributed support for obtaining cache size of the current thread and softer idling (for use in MongoDB). * we've implemented few minor performance improvements, particularly on malloc fast-path. * issue that caused spurious profiler_unittest.sh failures was fixed. OBS-URL: https://build.opensuse.org/request/show/378351 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gperftools?expand=0&rev=16
This commit is contained in:
commit
5d35d0fc56
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:982a37226eb42f40714e26b8076815d5ea677a422fb52ff8bfca3704d9c30a2d
|
||||
size 1346075
|
3
gperftools-2.5.tar.gz
Normal file
3
gperftools-2.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6fa2748f1acdf44d750253e160cf6e2e72571329b42e563b455bde09e9e85173
|
||||
size 1389081
|
@ -1,13 +0,0 @@
|
||||
Index: gperftools-2.0.99/Makefile.am
|
||||
===================================================================
|
||||
--- gperftools-2.0.99.orig/Makefile.am
|
||||
+++ gperftools-2.0.99/Makefile.am
|
||||
@@ -128,7 +128,7 @@ googleinclude_HEADERS = \
|
||||
src/google/stacktrace.h \
|
||||
src/google/tcmalloc.h
|
||||
|
||||
-docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)
|
||||
+docdir = $(prefix)/share/doc/packages/$(PACKAGE)
|
||||
# This is for HTML and other documentation you want to install.
|
||||
# Add your documentation files (in doc/) in addition to these
|
||||
# top-level boilerplate files. Also add a TODO file if you have one.
|
@ -1,3 +1,90 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 22 13:33:02 UTC 2016 - cgardner@suse.com
|
||||
|
||||
- gperftools 2.5, available 12 March 2016.
|
||||
See https://github.com/gperftools/gperftools/releases
|
||||
* Bryan Chan has contributed s390x support
|
||||
* stacktrace capturing via libgcc's _Unwind_Backtrace was implemented
|
||||
(for architectures with missing or broken libunwind).
|
||||
* "emergency malloc" was implemented. Which unbreaks recursive calls
|
||||
to malloc/free from stacktrace capturing functions (such us glib'c
|
||||
backtrace() or libunwind on arm). It is enabled by
|
||||
--enable-emergency-malloc configure flag or by default on arm when
|
||||
--enable-stacktrace-via-backtrace is given. It is another fix for a
|
||||
number common issues people had on platforms with missing or broken
|
||||
libunwind.
|
||||
* C++14 sized-deallocation is now supported (on gcc 5 and recent
|
||||
clangs). It is off by default and can be enabled at configure time
|
||||
via --enable-sized-delete. On GNU/Linux it can also be enabled at
|
||||
run-time by either TCMALLOC_ENABLE_SIZED_DELETE environment variable
|
||||
or by defining tcmalloc_sized_delete_enabled function which should
|
||||
return 1 to enable it.
|
||||
* we've lowered default value of transfer batch size to 512. Previous
|
||||
value (bumped up in 2.1) was too high and caused performance
|
||||
regression for some users. 512 should still give us performance
|
||||
boost for workloads that need higher transfer batch size while not
|
||||
penalizing other workloads too much.
|
||||
* Brian Silverman's patch finally stopped arming profiling timer
|
||||
unless profiling is started.
|
||||
* Andrew Morrow has contributed support for obtaining cache size of the
|
||||
current thread and softer idling (for use in MongoDB).
|
||||
* we've implemented few minor performance improvements, particularly
|
||||
on malloc fast-path.
|
||||
* issue that caused spurious profiler_unittest.sh failures was fixed.
|
||||
* Jonathan Lambrechts contributed improved callgrind format support to
|
||||
pprof.
|
||||
* Matt Cross contributed better support for debug symbols in separate
|
||||
files to pprof.
|
||||
* Matt Cross contributed support for printing collapsed stack frame
|
||||
from pprof aimed at producing flame graphs.
|
||||
* Angus Gratton has contributed documentation fix mentioning that on
|
||||
windows only tcmalloc_minimal is supported.
|
||||
* Anton Samokhvalov has made tcmalloc use mi_force_{un,}lock on OSX
|
||||
instead of pthread_atfork. Which apparently fixes forking
|
||||
issues tcmalloc had on OSX.
|
||||
* Milton Chiang has contributed support for building 32-bit gperftools
|
||||
on arm8.
|
||||
* Patrick LoPresti has contributed support for specifying alternative
|
||||
profiling signal via CPUPROFILE_TIMER_SIGNAL environment variable.
|
||||
* Paolo Bonzini has contributed support configuring filename for
|
||||
sending malloc tracing output via TCMALLOC_TRACE_FILE environment
|
||||
variable.
|
||||
* user spotrh has enabled use of futex on arm.
|
||||
* user mitchblank has contributed better declaration for arg-less
|
||||
profiler functions.
|
||||
* Tom Conerly contributed proper freeing of memory allocated in
|
||||
HeapProfileTable::FillOrderedProfile on error paths.
|
||||
* user fdeweerdt has contributed curl arguments handling fix in pprof
|
||||
* Frederik Mellbin fixed tcmalloc's idea of mangled new and delete
|
||||
symbols on windows x64
|
||||
* Dair Grant has contributed cacheline alignment for ThreadCache
|
||||
objects
|
||||
* Fredrik Mellbin has contributed updated windows/config.h for Visual
|
||||
Studio 2015 and other windows fixes.
|
||||
* we're not linking libpthread to libtcmalloc_minimal anymore. Instead
|
||||
libtcmalloc_minimal links to pthread symbols weakly. As a result
|
||||
single-threaded programs remain single-threaded when linking to or
|
||||
preloading libtcmalloc_minimal.so.
|
||||
* Boris Sazonov has contributed mips compilation fix and printf misue
|
||||
in pprof.
|
||||
* Adhemerval Zanella has contributed alignment fixes for statically
|
||||
allocated variables.
|
||||
* Jens Rosenboom has contributed fixes for heap-profiler_unittest.sh
|
||||
* gshirishfree has contributed better description for GetStats method.
|
||||
* cyshi has contributed spinlock pause fix.
|
||||
* Chris Mayo has contributed --docdir argument support for configure.
|
||||
* Duncan Sands has contributed fix for function aliases.
|
||||
* Simon Que contributed better include for malloc_hook_c.h
|
||||
* user wmamrak contributed struct timespec fix for Visual Studio 2015.
|
||||
* user ssubotin contributed typo in PrintAvailability code.
|
||||
* build fix for Visual Studio.
|
||||
* dynamic sized delete is now disabled by default. It turned out that
|
||||
IFUNC relocations are not supporting our advanced use case on all
|
||||
platforms and in all cases.
|
||||
- Removed the following patches. All have either been incorporated
|
||||
upstream or are no longer applicable in current distros.
|
||||
* gperftools-fix_docdir.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 31 13:35:12 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gperftools
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,16 +17,15 @@
|
||||
|
||||
|
||||
Name: gperftools
|
||||
Version: 2.4
|
||||
Version: 2.5
|
||||
Release: 0
|
||||
Summary: Performance Tools for C++
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: https://github.com/gperftools/gperftools
|
||||
Source0: https://github.com/gperftools/gperftools/releases/download/gperftools-%{version}/gperftools-%{version}.tar.gz
|
||||
Patch4: %{name}-fix_docdir.patch
|
||||
Patch12: %{name}_fix_unassigned_malloc_in_unittest.patch
|
||||
Patch14: %{name}_gcc46.patch
|
||||
Patch1: %{name}_fix_unassigned_malloc_in_unittest.patch
|
||||
Patch2: %{name}_gcc46.patch
|
||||
BuildRequires: autoconf >= 2.59
|
||||
BuildRequires: automake
|
||||
BuildRequires: gcc-c++
|
||||
@ -36,7 +35,6 @@ BuildRequires: pkg-config
|
||||
Provides: google-perftools
|
||||
Obsoletes: google-perftools
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExcludeArch: s390 s390x
|
||||
|
||||
%description
|
||||
The gperftools package contains some utilities to improve and analyze the
|
||||
@ -74,9 +72,8 @@ files for developing applications that use the gperftools package.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch4 -p1
|
||||
%patch12 -p1
|
||||
%patch14 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
@ -85,7 +82,8 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
%configure \
|
||||
--disable-static \
|
||||
--with-gnu-ld \
|
||||
--with-pic
|
||||
--with-pic \
|
||||
--docdir=%{_defaultdocdir}/%{name}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
|
Loading…
x
Reference in New Issue
Block a user