diff --git a/gperftools-2.8.1.tar.gz b/gperftools-2.8.1.tar.gz deleted file mode 100644 index 505f226..0000000 --- a/gperftools-2.8.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:12f07a8ba447f12a3ae15e6e3a6ad74de35163b787c0c7b76288d7395f2f74e0 -size 1598384 diff --git a/gperftools-2.9.1.tar.gz b/gperftools-2.9.1.tar.gz new file mode 100644 index 0000000..c979540 --- /dev/null +++ b/gperftools-2.9.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea566e528605befb830671e359118c2da718f721c27225cbbc93858c7520fee3 +size 1581218 diff --git a/gperftools.changes b/gperftools.changes index 2f5c594..cdf35f9 100644 --- a/gperftools.changes +++ b/gperftools.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed Mar 17 15:24:53 UTC 2021 - Callum Farmer + +- Update to 2.9.1: + * usage of unsupportable linux_syscall_support.h has been + removed from few places. + * Incorrect assertion failure was fixed that crashed tcmalloc + if assertions were on and sized delete was used + * there is now better backtracing support for aarch64 and riscv + x86-64 with frame pointers now also defaults to this new + "generic" frame pointer backtracer. +- Use golang version of pprof +- Split doc into subpackage + ------------------------------------------------------------------- Fri Jan 8 19:27:51 UTC 2021 - Andreas Schwab diff --git a/gperftools.spec b/gperftools.spec index d1c710a..99103c4 100644 --- a/gperftools.spec +++ b/gperftools.spec @@ -17,13 +17,13 @@ Name: gperftools -Version: 2.8.1 +Version: 2.9.1 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 +Source0: %{url}/releases/download/gperftools-%{version}/gperftools-%{version}.tar.gz Patch1: %{name}_fix_unassigned_malloc_in_unittest.patch Patch2: %{name}_gcc46.patch BuildRequires: autoconf >= 2.59 @@ -33,6 +33,7 @@ BuildRequires: libtool BuildRequires: pkgconfig Provides: google-perftools Obsoletes: google-perftools +Requires: pprof # based on basictypes.h in the source tree ExclusiveArch: %{ix86} x86_64 ppc ppc64 ppc64le %{arm} aarch64 mips s390x riscv64 %ifnarch s390x s390 riscv64 @@ -91,6 +92,16 @@ Requires: %{name}-devel = %{version} The gperftools-devel-static package contains static libraries for developing applications that use the gperftools package. +%package doc +Summary: Documentation for performance tools for C++ +Group: Documentation/HTML +BuildArch: noarch + +%description doc +Documentation for gperftools package which contains some utilities to improve and analyze the +performance of C++ programs + + %prep %autosetup -p1 @@ -106,6 +117,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing $VALGRIND_FL" %configure \ --with-gnu-ld \ --with-pic \ + --disable-deprecated-pprof \ --docdir=%{_defaultdocdir}/%{name} %make_build @@ -119,10 +131,7 @@ find %{buildroot} -type f -name "*.la" -delete -print %postun -n libtcmalloc4 -p /sbin/ldconfig %files -%{_bindir}/pprof %{_bindir}/pprof-symbolize -%{_mandir}/man1/pprof.1%{?ext_man} -%{_docdir}/%{name} %files -n libprofiler0 %{_libdir}/libprofiler.so.0* @@ -153,4 +162,7 @@ find %{buildroot} -type f -name "*.la" -delete -print %{_libdir}/libtcmalloc_minimal_debug.a %{_libdir}/libtcmalloc_and_profiler.a +%files doc +%{_docdir}/%{name} + %changelog