--- sp-rtrace-1.8.orig/debian/compat +++ sp-rtrace-1.8/debian/compat @@ -0,0 +1 @@ +5 --- sp-rtrace-1.8.orig/debian/sp-rtrace-visualize.install +++ sp-rtrace-1.8/debian/sp-rtrace-visualize.install @@ -0,0 +1,16 @@ +debian/tmp/usr/bin/rtrace-allocmap +debian/tmp/usr/bin/rtrace-allocmap-animate +debian/tmp/usr/bin/rtrace-calltree +debian/tmp/usr/bin/rtrace-from-function +debian/tmp/usr/bin/rtrace-graphs-function +debian/tmp/usr/bin/rtrace-graphs-overview +debian/tmp/usr/bin/sp-rtrace-allocmap +debian/tmp/usr/bin/sp-rtrace-timeline +debian/tmp/usr/share/man/man1/rtrace-allocmap.1 +debian/tmp/usr/share/man/man1/rtrace-allocmap-animate.1 +debian/tmp/usr/share/man/man1/rtrace-calltree.1 +debian/tmp/usr/share/man/man1/rtrace-from-function.1 +debian/tmp/usr/share/man/man1/rtrace-graphs-function.1 +debian/tmp/usr/share/man/man1/rtrace-graphs-overview.1 +debian/tmp/usr/share/man/man1/sp-rtrace-allocmap.1 +debian/tmp/usr/share/man/man1/sp-rtrace-timeline.1 --- sp-rtrace-1.8.orig/debian/copyright +++ sp-rtrace-1.8/debian/copyright @@ -0,0 +1,34 @@ +Contact: + Eero Tamminen + +Copyright: + Copyright (C) 2010 by Nokia Corporation + +License for the resource consuption tracing tools and modules: + This program is a free software; you can redistribute them and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 of + the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + On Debian GNU/Linux systems you can find a copy of the GPL in + /usr/share/common-licenses/GPL + +License for the resource consumption tracing library: + This program is a is free software; you can redistribute it + and/or modify it under the terms of the GNU Library General + Public License as published by the Free Software Foundation; + either version 2 of the License, or (at your option) any later + version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + On Debian GNU/Linux systems you can find a copy of the LGPL in + /usr/share/common-licenses/LGPL --- sp-rtrace-1.8.orig/debian/sp-rtrace.dirs +++ sp-rtrace-1.8/debian/sp-rtrace.dirs @@ -0,0 +1 @@ +/usr/lib/sp-rtrace \ No newline at end of file --- sp-rtrace-1.8.orig/debian/sp-rtrace.install +++ sp-rtrace-1.8/debian/sp-rtrace.install @@ -0,0 +1,16 @@ +debian/tmp/usr/bin/sp-rtrace-postproc +debian/tmp/usr/bin/sp-rtrace +debian/tmp/usr/bin/sp-rtrace-resolve +debian/tmp/usr/bin/sp-rtrace-pagemap +debian/tmp/usr/lib/libsp-rtrace-main.so* +debian/tmp/usr/lib/sp-rtrace/*so +debian/tmp/usr/bin/rtrace-rename +debian/tmp/usr/bin/rtrace-sort +debian/tmp/usr/bin/rtrace-stats +debian/tmp/usr/share/man/man1/sp-rtrace.1 +debian/tmp/usr/share/man/man1/sp-rtrace-postproc.1 +debian/tmp/usr/share/man/man1/sp-rtrace-resolve.1 +debian/tmp/usr/share/man/man1/sp-rtrace-pagemap.1 +debian/tmp/usr/share/man/man1/rtrace-rename.1 +debian/tmp/usr/share/man/man1/rtrace-sort.1 +debian/tmp/usr/share/man/man1/rtrace-stats.1 --- sp-rtrace-1.8.orig/debian/control +++ sp-rtrace-1.8/debian/control @@ -0,0 +1,65 @@ +Source: sp-rtrace +Priority: extra +Maintainer: Eero Tamminen +Build-Depends: debhelper (>= 5), autoconf, automake, libtool, doxygen, binutils-dev, libglib2.0-dev +Standards-Version: 3.8.0 +Section: utils + +Package: libsp-rtrace-dev +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libsp-rtrace1-1 (= ${binary:Version}), python +Description: Development files for using resource consumption tracing support library. + This package contains headers, manuals and symbolic links to use the resource + consuption tracing support library (libsp-rtrace1). + +Package: libsp-rtrace1-1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Resource consumption tracing support library. + This library allows third party applications to use function allocation + contexts and API to generate resource consumption tracing (sp-rtrace) text + format compatible reports. + +Package: libsp-rtrace1-1-dbg +Section: debug +Architecture: any +Depends: ${misc:Depends}, libsp-rtrace1-1 (=${binary:Version}) +Description: Debug symbols for resource consumption tracing support library. + This package contains debug symbols for resource consumption tracing + support library (libsp-rtrace1). + +Package: sp-rtrace +Section: utils +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libsp-rtrace1-1 (= ${binary:Version}) +Description: Resource consumption tracing and post-processing tools. + This package provides tools for tracing allocation and deallocation of + various resources (memory, memory transfers etc), and post-processing + of the resulting traces. + +Package: sp-rtrace-dbg +Section: debug +Architecture: any +Depends: ${misc:Depends}, sp-rtrace (=${binary:Version}) +Description: Debug symbols for resource consumption tracing and post-processing tools. + This package provides debug symbols for resource consuption tracing toolset + (sp-rtrace). + +Package: sp-rtrace-visualize +Section: utils +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, sp-rtrace, python, graphviz, gnuplot-nox, xdg-utils +Description: Visualization utilities for rtrace format files. + This package contains various visualization (alloc addressmap, + histogram, timeline, callgraph) utilities for rtrace text format + reports. + +Package: sp-rtrace-visualize-dbg +Section: debug +Architecture: any +Depends: ${misc:Depends}, sp-rtrace-visualize (=${binary:Version}) +Description: Debug symbols for the rtrace format file visualization binaries + This package provides debug symbols for rtrace format visualization + utility binaries (sp-rtrace-visualize). --- sp-rtrace-1.8.orig/debian/debhelper.log +++ sp-rtrace-1.8/debian/debhelper.log @@ -0,0 +1,15 @@ +dh_installdirs +dh_installchangelogs +dh_installdocs +dh_installexamples +dh_install +dh_installman +dh_link +dh_strip +dh_compress +dh_fixperms +dh_installdeb +dh_shlibdeps +dh_gencontrol +dh_md5sums +dh_builddeb --- sp-rtrace-1.8.orig/debian/changelog +++ sp-rtrace-1.8/debian/changelog @@ -0,0 +1,184 @@ +sp-rtrace (1.8-1ubuntu2linaro1) oneiric; urgency=low + + * Rebuild to generate dbgsym packages + + -- Ricardo Salveti de Araujo Sat, 17 Dec 2011 18:56:22 -0200 + +sp-rtrace (1.8-1ubuntu2) oneiric; urgency=low + + * Rebuild for Oneiric + + -- Ricardo Salveti de Araujo Sun, 23 Oct 2011 14:02:33 -0200 + +sp-rtrace (1.8-1ubuntu1) natty; urgency=low + + * Initial release for Ubuntu + + -- Avik Sil Mon, 22 Aug 2011 12:46:47 +0000 + +sp-rtrace (1.8-1) unstable; urgency=low + + * Fixes: NB#268470 - Use consistent option names for functracer & sp-rtrace + + remove LD_AUDIT from sp-rtrace + + -- Tommi Rantala Wed, 03 Aug 2011 12:41:14 +0300 + +sp-rtrace (1.7-1) unstable; urgency=low + + * Fixes: NB#265207 - sp-rtrace-postproc crash on giving it multiple rtrace + files + + -- Tommi Rantala Thu, 30 Jun 2011 16:34:31 +0300 + +sp-rtrace (1.6.1-1) unstable; urgency=low + + * Fixes: NB#265209 - Inlined anonymous object destructor gets resolved to + backtraces instead of the method/function call which uses such object in + argument creation + * Fixes: NB#264328 - sp-rtrace waits forever data from some applications + when ^C is used + + -- Tommi Rantala Thu, 16 Jun 2011 09:41:42 +0300 + +sp-rtrace (1.6-2) unstable; urgency=low + + * Add new header sp_rtrace_filter.h to libsp-rtrace-dev package. + + -- Tommi Rantala Wed, 01 Jun 2011 12:20:49 +0300 + +sp-rtrace (1.6-1) unstable; urgency=low + + * Fixes: NB#258974 - sp-rtrace save file misses latest (<4kB?) data from + application when ^C is used + * Fixes: NB#261013 - Get backtraces only for allocations of specified size + + -- Tommi Rantala Wed, 01 Jun 2011 11:44:45 +0300 + +sp-rtrace (1.5.2-1) unstable; urgency=low + + * Fixes: NB#254152 - rtrace/sp_rtrace.c:584: warning: passing argument 1 of + 'close' makes integer from pointer without a cast + * Fixes: NB#258671 - sp-rtrace-timeline --filter-time does no accept relative + time values + + -- Tommi Rantala Tue, 24 May 2011 16:48:26 +0300 + +sp-rtrace (1.5.1-1) unstable; urgency=low + + * Fixes: NB#252414 - Sp-rtrace should give warning when starting toggle + without sp-rtrace process + + -- Tommi Rantala Mon, 09 May 2011 15:42:44 +0300 + +sp-rtrace (1.5-1) unstable; urgency=low + + * Fixes: NB#249041 - Full pagemap support & improments to callgraph + generation to sp-rtrace + + -- Tommi Rantala Thu, 28 Apr 2011 12:35:52 +0300 + +sp-rtrace (1.4.1-1) unstable; urgency=low + + * Fixes: NB#231732 - sp-rtrace-postproc crash with file traces + + rtrace-calltree issues with function argument parsing + + -- Tommi Rantala Fri, 04 Mar 2011 13:17:23 +0200 + +sp-rtrace (1.4) unstable; urgency=low + + * Debug package, compiler option, x86 reliability and memory leak fixes + Fixes: NB#216303 + * "origin" field added to text format header. Fixes NB#215920 + * HTML and histogram reports removed from rtrace-calltree. Former isn't + really useful and latter functionality is now in sp-rtrace-timeline + * Major rtrace-calltree speed improvement for large traces + * Post-processing tools updated to accept audit traces where + traced functions have C++ signatures + * sp-rtrace-timeline --scalex option value is now in percentages + and resource life-time timeline Y-axis is logarithmic + * New module and post-processing tools to track which of the process. + memory pages are dirty and whether they're zeroed. Added trace file + format support for references to additional data files + * New module for tracing POSIX shared memory mappings + * SYSV shared memory module reports "shmctl(...,IPC_RMID,...)" events + * Documentation updates and MeeGo compatibility fixes + + -- Tommi Rantala Wed, 16 Feb 2011 11:44:54 +0200 + +sp-rtrace (1.3) unstable; urgency=low + + * C++ rewrite of rtrace-timeline to make it faster + * Improved support for resource reference counting + * Binary and ASCII trace file format changes for above + * Added module generator script, module code template & examples + * New modules for tracing QObject and Gobject create/reference/free + * Renamed shmseg module to shmsysv (as it's in functracer) + * Experimental user specified function tracing support and module + based on dynamic linker LD_AUDIT framework + Fixes: NB#164143 + * Put allocmap temp files to current dir, use faster options + and better error handling in rtrace-allocmap + Fixes: NB#207896 + * Support new Linux pipe2() function in sp-rtrace file module + Fixes: NB#210523 + + -- Tommi Rantala Fri, 10 Dec 2010 16:06:59 +0200 + +sp-rtrace (1.2) unstable; urgency=low + + * rtrace-timeline script rewrite: + - total non-freed allocations timeline chart + - allocation activity timeline chart + - allocation life-time timeline chart + - allocation count & size per alloc size histograms + - possible to generate all charts at the same time + - huge memory usage reduction + - options for filtering allocations & deallocations based on + allocation record, timestamp or size range and scaling chart + Fixes: NB#153186 + * rtrace-graphs-overview script rewrite: + - resource file includes information about filtering done on it + - handle both binary and ascii files + - input files need now to be specified + - generate also (all) timeline charts + - show the generated charts with xdg-open + * rtrace-callgree updates: + - ignore deallocation backtraces + - option to filter allocations based on size range + - updates to glib/qt function/method ignore shortcuts + * Experimental support for using libunwind to collect backtraces + * Binary and ASCII trace file format changes for above + * Context API library changes needed by functracer + * Post-processing speed and memory usage improvements + * Force i486 architecture for x86 (Sbox). Fixes: NB#201366 + (GCC version specific atomic ops issue) + * Automake&libtool added to build-deps. Fixes: NB#194298 + + -- Tommi Rantala Thu, 11 Nov 2010 15:06:59 +0200 + +sp-rtrace (1.1) unstable; urgency=low + + * Function name resolving verifies libbfd provide information from + the ELF symbol table to get rid of bogus information provided + by BFD for inline/template methods. This may also remove useful + information, for that case one can ask resolving to use just BFD. + Fixes: NB#192289 + * Fixes to tracing toggling and backtrace generation + * Modules can trace activity done before process enters main() + * New file module for tracing file descriptor increase & decrease + * Backtraces for freed resources are optional (improves performance) + * Backtrace is output in similar format to one used by Gdb + * rtrace-calltree: + - HTML report generation & pylint errors fixed + - callgraphs handle resource freeing backtraces properly + - more & updated --ignore-* convenience functions + - option for seeing first function arguments (e.g. filename) as nodes + * Preliminary unfreed allocs & allocation activity timeline charts + + -- Tommi Rantala Thu, 23 Sep 2010 12:41:36 +0300 + +sp-rtrace (1.0) unstable; urgency=low + + * Initial Release. + + -- Kiryl Shutsemau Thu, 29 Jun 2010 09:50:07 +0200 --- sp-rtrace-1.8.orig/debian/libsp-rtrace1-1.install +++ sp-rtrace-1.8/debian/libsp-rtrace1-1.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libsp-rtrace1.so.* --- sp-rtrace-1.8.orig/debian/rules +++ sp-rtrace-1.8/debian/rules @@ -0,0 +1,110 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS = -g +CXXFLAGS = -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 + CXXFLAGS += -O0 +else + CFLAGS += -O3 + CXXFLAGS += -O3 +endif + +ifneq (,$(findstring werror,$(DEB_BUILD_OPTIONS))) + CFLAGS += -Werror + CXXFLAGS += -Werror +endif + +# shared library versions + +configure: + autoreconf -f -i -v + +config-status: configure + dh_testdir + # Add here commands to configure the package. + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + touch $@ + +build: build-stamp + +build-stamp: config-status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link +# dh_strip --dbg-package=sp-rtrace --dbg-package=libsp-rtrace1-1 + dh_strip --dbg-package=sp-rtrace-dbg -Xlibsp-rtrace1-1 -Xsp-rtrace-visualize + dh_strip --dbg-package=libsp-rtrace1-1-dbg -Xsp-rtrace-visualize + dh_strip --dbg-package=sp-rtrace-visualize-dbg + dh_compress + dh_fixperms +# dh_perl +# dh_python + dh_makeshlibs -X/usr/bin/* -X/usr/lib/sp-rtrace/* + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- sp-rtrace-1.8.orig/debian/libsp-rtrace-dev.install +++ sp-rtrace-1.8/debian/libsp-rtrace-dev.install @@ -0,0 +1,12 @@ +debian/tmp/usr/include/sp_rtrace_context.h +debian/tmp/usr/include/sp_rtrace_filter.h +debian/tmp/usr/include/sp_rtrace_formatter.h +debian/tmp/usr/include/sp_rtrace_defs.h +debian/tmp/usr/include/sp_rtrace_tracker.h +debian/tmp/usr/include/sp_rtrace_parser.h +debian/tmp/usr/share/man/man3/sp_rtrace_context*.3 +debian/tmp/usr/share/man/man3/sp_rtrace_formatter*.3 +debian/tmp/usr/share/man/man3/sp_rtrace_print*.3 +debian/tmp/usr/share/man/man1/rtrace-module-gen.1 +debian/tmp/usr/lib/libsp-rtrace1.so +debian/tmp/usr/bin/rtrace-module-gen --- sp-rtrace-1.8.orig/debian/substvars +++ sp-rtrace-1.8/debian/substvars @@ -0,0 +1,2 @@ +misc:Depends= +shlibs:Depends=libc6 (>= 2.5.0-1)