Skip to content

Instantly share code, notes, and snippets.

@andreimaxim
Created April 16, 2010 15:35
Show Gist options
  • Save andreimaxim/368572 to your computer and use it in GitHub Desktop.
Save andreimaxim/368572 to your computer and use it in GitHub Desktop.
Summary: Fast, multi-threaded malloc() and nifty performance analysis tools
Name: google-perftools
Vendor: Google
Version: 1.5
Release: 1%{?dist}
License: BSD
Group: Development/Tools
URL: http://code.google.com/p/google-perftools/
Source0: google-perftools-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: gcc-c++ make patch
%description
Fast, multi-threaded malloc()
%prep
%setup -q -n google-perftools-%{version}
%build
%configure --enable-frame-pointers --disable-dependency-tracking
%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} INSTALL="install -p" CP="cp -p" install
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_bindir}/pprof
%{_includedir}/google/*
%{_libdir}/libprofiler.*
%{_libdir}/libtcmalloc.*
%{_libdir}/libtcmalloc_and_profiler.*
%{_libdir}/libtcmalloc_debug.*
%{_libdir}/libtcmalloc_minimal.*
%{_libdir}/libtcmalloc_minimal_debug.*
%{_docdir}/google-perftools-1.5/*
%{_mandir}/man1/pprof.1.gz
%{_libdir}/libtcmalloc.*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment