debian/0000755000000000000000000000000012141720360007162 5ustar debian/mutextrace.manpages0000644000000000000000000000002412117623211013054 0ustar debian/mutextrace.1 debian/mutextrace.10000644000000000000000000000255012117624365011442 0ustar .Dd Mar 11 2013 .Dt mutextrace 1 .Sh NAME mutextrace - LD_PRELOAD wrapper for tracing pthread mutex acquisition .Sh SYNOPSIS .nf \fBmutextrace\fP \fIprogram options\fP .fi .Sh DESCRIPTION This tool allows you to wrap an existing program and wrap calls to \fBpthread_create\fP and \fBpthread_mutex_*\fP to display what is happening. Specifically creation, locking, unlocking and destruction of mutexes as well as creation and termination of threads is displayed. Note that it does replace \fBpthread_mutex_trylock\fP. Objects are numbered sequentially numbered at creation and those numbers are used to identify them later on. When a lock is acquired in one thread which is currently held by another thread, the ownership transfer is explained. .sp The \fBmutextrace\fP utility sets up the \fBLD_PRELOAD\fP environment variable to load the library into a program to be debugged. It takes no options on its own and assumes that the first parameter refers to a program to be executed. All further parameters are passed on to the wrapped program. .Sh SEE ALSO .Xr pthread_create 3 .Xr pthread_mutex_init 3 .Xr pthread_mutex_lock 3 .Xr pthread_mutex_unlock 3 .Xr pthread_mutex_destroy 3 .Sh AUTHOR \fBmutextrace\fP was written by Simon Richter . This manual page was written by Helmut Grohne for the Debian system (but may be used by others). debian/control0000644000000000000000000000134612102441644010573 0ustar Source: mutextrace Section: devel Priority: extra Maintainer: Simon Richter Build-Depends: debhelper (>= 9), autotools-dev Standards-Version: 3.9.4 #Homepage: Package: mutextrace Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Lock debugging tool This tool displays mutexes locked and unlocked during execution of a program, and can provide hints for debugging multithreaded applications. As it is fairly lightweight and easy to use, it is ideal at the start of a debugging session or when only limited resources are available. . It cannot detect data races as it only looks at the synchronisation primitives themselves; if you need that, use helgrind (in the valgrind package) instead. debian/copyright0000644000000000000000000000227712102441656011132 0ustar This work was packaged for Debian by: Simon Richter on Mon, 30 Nov 2009 15:26:21 +0100 It was downloaded from: http://www.hogyros.de/download/ Upstream Author: Simon Richter Copyright: Copyright © 2009 Simon Richter License: This program 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 3 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 3 can be found in `/usr/share/common-licenses/GPL-3'. The Debian packaging is: Copyright (C) 2009 Simon Richter and is licensed under the GPL version 3, see above. debian/source/0000755000000000000000000000000011304753067010474 5ustar debian/source/format0000644000000000000000000000001411304753067011702 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000010311304754143010213 0ustar version=3 http://www.hogyros.de/download/ mutextrace-(.*)\.tar\.gz debian/compat0000644000000000000000000000000212102441620010354 0ustar 9 debian/rules0000755000000000000000000000025212140710270010237 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --parallel override_dh_auto_install: dh_auto_install --destdir=debian/tmp debian/changelog0000644000000000000000000000201012141720355011031 0ustar mutextrace (0.1.4-1) unstable; urgency=low * New upstream release -- Simon Richter Mon, 06 May 2013 14:23:30 +0200 mutextrace (0.1.3-1) unstable; urgency=low * New upstream release -- Simon Richter Fri, 03 May 2013 21:07:49 +0200 mutextrace (0.1.2-1) unstable; urgency=low * New upstream release -- Simon Richter Fri, 03 May 2013 14:01:37 +0200 mutextrace (0.1.1-1) unstable; urgency=low * New upstream release -- Simon Richter Fri, 03 May 2013 12:19:27 +0200 mutextrace (0.1-3) unstable; urgency=low * Integrate manpage provided by Helmut Grohne (Closes: #559179) -- Simon Richter Tue, 12 Mar 2013 13:57:42 +0100 mutextrace (0.1-2) unstable; urgency=low * Update Standards-Version * Switch to debhelper 9 -- Simon Richter Thu, 31 Jan 2013 11:13:48 +0100 mutextrace (0.1-1) unstable; urgency=low * Initial release -- Simon Richter Mon, 30 Nov 2009 15:26:21 +0100 debian/mutextrace.install0000644000000000000000000000006612140710050012727 0ustar usr/bin/mutextrace usr/lib/*/mutextrace/mutextrace.so