debian/0000755000000000000000000000000012244372341007170 5ustar debian/source/0000755000000000000000000000000012244372341010470 5ustar debian/source/format0000644000000000000000000000001412244372341011676 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212244372341010366 0ustar 8 debian/rules0000755000000000000000000000147112244372341010253 0ustar #!/usr/bin/make -f # # Enable Hardening export DEB_BUILD_MAINT_OPTIONS = hardening=+all # This has to be exported to make some magic below work. export DH_OPTIONS install_dir = debian/tmp %: dh $@ --with python2 override_dh_auto_build: make replay; set -ex; for python in $(shell pyversions -r); do \ cd ioprofiler; \ $$python setup.py build; \ cd .. ; \ done; override_dh_auto_install: mkdir -p $(install_dir)/usr/bin mkdir -p $(install_dir)/usr/share/man/man1 install ioreplay $(install_dir)/usr/bin/ install man/ioreplay.1 $(install_dir)/usr/share/man/man1/ install ioprofiler-trace $(install_dir)/usr/bin/ set -ex; for python in $(shell pyversions -r); do \ cd ioprofiler && $$python setup.py install --prefix=/usr --no-compile --root=$(CURDIR)/$(install_dir) --install-layout=deb; \ done; debian/patches/0000755000000000000000000000000012244372341010617 5ustar debian/patches/series0000644000000000000000000000000012244372341012022 0ustar debian/patches/fix-makefile.patch0000644000000000000000000000347412244372341014211 0ustar Index: ioapps/Makefile =================================================================== --- ioapps.orig/Makefile 2013-04-07 14:15:20.451664888 +0530 +++ ioapps/Makefile 2013-04-07 14:15:20.447664888 +0530 @@ -1,10 +1,11 @@ .PHONY : all clean +DESTDIR=/ DISTFILES=ioreplay DOCDIR=man IOPROFILER=ioprofiler INSTALL=install -TARGET_PATH=/usr/bin +TARGET_PATH=$(DESTDIR)/usr/bin SOURCES=ioreplay.c print.c in_common.c in_strace.c in_binary.c replicate.c simulate.c stats.c fdmap.c namemap.c simfs.c adt/list.c adt/hash_table.c adt/fs_trie.c CFLAGS=-c -g -Wall -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I. -O3 OBJFILES=$(subst .c,.o,$(SOURCES)) @@ -26,6 +27,8 @@ install: install_replay install_profiler install_replay: replay + mkdir -p $(TARGET_PATH) + $(INSTALL) $(DISTFILES) $(TARGET_PATH) $(MAKE) -C $(DOCDIR) install Index: ioapps/man/Makefile =================================================================== --- ioapps.orig/man/Makefile 2013-04-07 14:15:20.451664888 +0530 +++ ioapps/man/Makefile 2013-04-07 14:15:20.447664888 +0530 @@ -1,5 +1,5 @@ MANPAGE=ioreplay.1 -MANDIR=/usr/share/man/man1/ +MANDIR=$(DESTDIR)/usr/share/man/man1/ INSTALL=install all: $(MANPAGE) @@ -11,4 +11,5 @@ rm -f $(MANPAGE) install: + mkdir -p $(MANDIR) $(INSTALL) $(MANPAGE) $(MANDIR) Index: ioapps/ioprofiler/Makefile =================================================================== --- ioapps.orig/ioprofiler/Makefile 2013-04-07 14:15:20.451664888 +0530 +++ ioapps/ioprofiler/Makefile 2013-04-07 14:15:51.943663699 +0530 @@ -1,12 +1,13 @@ PYTHON=python INSTALL=install -TARGET_PATH=/usr/bin/ +DESTDIR=/ +TARGET_PATH=$(DESTDIR)/usr/bin/ all: python setup.py build install: - python setup.py install + python setup.py install --root $(CURDIR)/debian/tmp --install-layout=deb --prefix=/usr clean: python setup.py clean debian/docs0000644000000000000000000000000712244372341010040 0ustar README debian/ioapps.install0000644000000000000000000000017212244372341012053 0ustar usr/bin/ioreplay usr/bin/ioprofiler usr/bin/ioprofiler-trace usr/lib/python2.*/*-packages/* usr/share/man/man1/ioreplay.1 debian/control0000644000000000000000000000240712244372341010576 0ustar Source: ioapps Section: devel Priority: optional Maintainer: Ritesh Raj Sarraf Build-Depends: debhelper (>= 9.20120312), help2man, python-all, python-dev Standards-Version: 3.9.3 Homepage: https://code.google.com/p/ioapps/ Vcs-Git: git://anonscm.debian.org/collab-maint/ioapps.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/ioapps.git;a=summary X-Python-Version: >= 2.7 Package: ioapps Architecture: linux-any Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, strace, python-qt4, python-matplotlib Description: IO profiler and IO traces replayer IOApps is an application level profiling and tracing utility suite . ioreplay is mainly intended for replaying of recorded (using strace) IO traces, which is useful for standalone benchmarking. It provides many features to ensure validity of such measurements . ioprofiler is a GUI application for profiling application's IO access pattern. It shows all the read/written files by the traced application, how many reads were performed, how much data were read and how much time was spent reading for each file. Most importantly, it produces nice diagrams showing read/write access pattern (i.e. whether the application was reading sequentially or randomly) in how big chunks etc debian/watch0000644000000000000000000000034312244372341010221 0ustar version=3 opts=\ downloadurlmangle=s|.*[?]name=(.*?)&.*|http://ioapps.googlecode.com/files/$1|,\ filenamemangle=s|[^/]+[?]name=(.*?)&.*|$1| \ http://code.google.com/p/ioapps/downloads/detail[?]name=ioapps-([0-9.]+)\.tar\.gz.* debian/changelog0000644000000000000000000000102112244372341011034 0ustar ioapps (1.4r2-3) unstable; urgency=low * [e601c06] Limit architecture to linux-any. Thanks to Adam D. Barratt (Closes: #722922) * [e5cd088] Fix Vcs links -- Ritesh Raj Sarraf Thu, 21 Nov 2013 11:36:33 +0530 ioapps (1.4r2-2) unstable; urgency=low * Upload to unstable -- Ritesh Raj Sarraf Sun, 16 Jun 2013 14:04:15 +0530 ioapps (1.4r2-1) experimental; urgency=low * Initial release (Closes: #705263) -- Ritesh Raj Sarraf Sat, 20 Apr 2013 14:19:52 +0530 debian/copyright0000644000000000000000000000532612244372341011131 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ioapps Upstream-Contact: Jiri Horky Source: https://code.google.com/p/ioapps/ Files: adt/hash_table.c adt/hash_table.h Copyright: 2006 Jakub Jermar License: BSD (3 clause) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: * Copyright: 2010 Jiri Horky 2001 - 2010 Department of Distributed and Dependable Systems Faculty of Mathematics and Physics Charles University, Czech Republic License: GPL-2+ Files: debian/* Copyright: 2013 Ritesh Raj Sarraf License: GPL-2+ License: GPL-2+ This package is free software; you can redistribute it 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 package 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. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".