debian/0000755000000000000000000000000012316563214007171 5ustar debian/control0000644000000000000000000001035312316562711010577 0ustar Source: ltt-control Section: libs Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Jon Bernard Build-Depends: debhelper (>= 9), libpopt-dev, liburcu-dev (>= 0.7.4), liblttng-ust-dev (>= 2.4.0~), dh-autoreconf Standards-Version: 3.9.5 Vcs-Git: git://git.debian.org/git/collab-maint/ltt-control.git Vcs-Browser: http://git.debian.org/?p=collab-maint/ltt-control.git;a=summary Homepage: http://lttng.org/ Package: lttng-tools Section: utils Architecture: amd64 armel armhf arm64 i386 mips mipsel powerpc s390x ppc64el Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: babeltrace Suggests: lttng-modules-dkms Replaces: ltt-bin (<< 2.0.3-1~), ust-bin (<< 2.0.4-2~) Breaks: ltt-bin (<< 2.0.3-1~), ust-bin (<< 2.0.4-2~) Provides: ltt-bin, ust-bin Description: LTTng control and utility programs The LTTng project aims at providing highly efficient tracing tools for Linux. Its tracers help tracking down performance issues and debugging problems involving multiple concurrent processes and threads. Tracing across multiple systems is also possible. . This package provides the unified interface to control both the LTTng kernel and userspace (UST) tracers. Package: liblttng-ctl0 Architecture: amd64 armel armhf arm64 i386 mips mipsel powerpc s390x ppc64el Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Replaces: liblttctl0 (<< 2.0.3-1~), liblttd0 (<< 2.0.3-1~) Breaks: liblttctl0 (<< 2.0.3-1~), liblttd0 (<< 2.0.3-1~) Provides: liblttctl0, liblttd0 Description: LTTng control and utility library The LTTng project aims at providing highly efficient tracing tools for Linux. Its tracers help tracking down performance issues and debugging problems involving multiple concurrent processes and threads. Tracing across multiple systems is also possible. . This package provides the control libraries used by lttng-tools. Package: liblttng-ctl-dev Section: libdevel Architecture: amd64 armel armhf arm64 i386 mips mipsel powerpc s390x ppc64el Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, liblttng-ctl0 (= ${binary:Version}) Replaces: liblttctl-dev (<< 2.0.3-1~), liblttd-dev (<< 2.0.3-1~) Breaks: liblttctl-dev (<< 2.0.3-1~), liblttd-dev (<< 2.0.3-1~) Provides: liblttctl-dev, liblttd-dev Description: LTTng control and utility library (development files) The LTTng project aims at providing highly efficient tracing tools for Linux. Its tracers help tracking down performance issues and debugging problems involving multiple concurrent processes and threads. Tracing across multiple systems is also possible. . This package provides the development files for liblttng-ctl. This allows implementing trace control in external applications. Package: ltt-bin Section: oldlibs Architecture: amd64 armel armhf i386 mips mipsel powerpc s390x Depends: ${misc:Depends}, lttng-tools Description: Transitional package for lttng-tools This is a transitional package to ease upgrades to the lttng-tools package. It can safely be removed. Package: liblttd0 Section: oldlibs Architecture: amd64 armel armhf i386 mips mipsel powerpc s390x Depends: ${misc:Depends}, liblttng-ctl0 Description: Transitional package for liblttng-ctl0 This is a transitional package to ease upgrades to the liblttng-ctl0 package. It can safely be removed. Package: liblttd-dev Section: oldlibs Architecture: amd64 armel armhf i386 mips mipsel powerpc s390x Depends: ${misc:Depends}, liblttng-ctl-dev Description: Transitional package for liblttng-ctl-dev This is a transitional package to ease upgrades to the liblttng-ctl-dev package. It can safely be removed. Package: liblttctl0 Section: oldlibs Architecture: amd64 armel armhf i386 mips mipsel powerpc s390x Depends: ${misc:Depends}, liblttng-ctl0 Description: Transitional package for liblttng-ctl0 This is a transitional package to ease upgrades to the liblttng-ctl0 package. It can safely be removed. Package: liblttctl-dev Section: oldlibs Architecture: amd64 armel armhf i386 mips mipsel powerpc s390x Depends: ${misc:Depends}, liblttng-ctl-dev Description: Transitional package for liblttng-ctl-dev This is a transitional package to ease upgrades to the liblttng-ctl-dev package. It can safely be removed. debian/lttng-tools.install0000644000000000000000000000020212316562407013044 0ustar usr/bin usr/share/man usr/lib/*/lttng/libexec/lttng-consumerd debian/bash_completion/lttng /etc/bash_completion.d/ debian/watch0000644000000000000000000000017612316562407010231 0ustar version=3 opts=uversionmangle=s/-(rc\d|pre\d)/~$1/ \ http://lttng.org/files/lttng-tools/lttng-tools-(.*)\.tar\.(?:gz|bz2) debian/changelog0000644000000000000000000001263412316563166011057 0ustar ltt-control (2.4.0-2ubuntu1) trusty; urgency=medium * Merge upstream bugfix release from Debian unstable. Remaining changes: - Add ppc64el. - And also add arm64. * Don't bump the liburcu build-dependency as it's not required and we don't have the new version in 14.04. -- Stéphane Graber Tue, 01 Apr 2014 12:16:53 -0400 ltt-control (2.4.0-2) unstable; urgency=low * [74b3a25] Bump dependency on liburcu to version 0.8.4 -- Jon Bernard Mon, 17 Mar 2014 16:17:47 -0400 ltt-control (2.4.0-1) unstable; urgency=low * [e1e3941] New upstream version 2.4.0 -- Jon Bernard Fri, 14 Mar 2014 18:56:36 -0400 ltt-control (2.4.0~rc4-1ubuntu2) trusty; urgency=medium * And also add arm64. -- Dimitri John Ledkov Mon, 17 Mar 2014 16:51:39 +0000 ltt-control (2.4.0~rc4-1ubuntu1) trusty; urgency=medium * Add ppc64el. -- Dimitri John Ledkov Mon, 17 Mar 2014 16:27:51 +0000 ltt-control (2.4.0~rc4-1) experimental; urgency=low * [5accadb] Update UST version dependency * [67eb5bb] Update watch file to only uversionmangle * [055f855] New upstream version 2.4.0~rc4 -- Jon Bernard Fri, 14 Feb 2014 17:29:29 -0500 ltt-control (2.3.0-2) unstable; urgency=low * [31b9b12] Fix build failure on armel * [635f0c3] Bump version dependency on ust -- Jon Bernard Fri, 22 Nov 2013 12:57:18 -0500 ltt-control (2.3.0-1) unstable; urgency=low * [c75fa17] New upstream version 2.3.0 (Closes: #728644) * [f5d8090] Bump standards version, no changes necessary * [660a665] Make lttng-modules-dkms a suggestion instead of requirement (Closes: #714385) * [b6a3c4a] Update build dependency on ust * [87626e5] Restrict architectures to match that of ust * [fec17a8] Remove debian patch, include upstream -- Jon Bernard Sun, 03 Nov 2013 15:18:56 -0500 ltt-control (2.1.1-2) unstable; urgency=low * [08f3c8b] Use dh-autoreconf to call autoreconf before building. Thanks to Roland Stigge (Closes: #701976) -- Jon Bernard Tue, 02 Apr 2013 16:03:39 -0400 ltt-control (2.1.1-1) unstable; urgency=low * [228144f] New upstream version 2.1.1 * [a9f14a2] Refresh test utilities link patch * [49f2b94] Set build dependency on proper version of ust. Thanks to Glenn McGrath (Closes: #701779) * [7f80999] Remove AUTHORS and NEWS from docs, no longer shipped -- Jon Bernard Thu, 28 Feb 2013 18:34:16 -0500 ltt-control (2.1.0~rc9-1) unstable; urgency=low * [f95cb9a] New upstream version 2.1.0~rc9 -- Jon Bernard Tue, 04 Dec 2012 09:26:22 -0500 ltt-control (2.1.0~rc8-1) unstable; urgency=low * [72662ab] New upstream version 2.1.0~rc8 * [ae2ad38] Link test utilities against urcu-bp -- Jon Bernard Mon, 03 Dec 2012 13:06:07 -0500 ltt-control (2.1.0~rc6-1) unstable; urgency=low * [4908348] New upstream version 2.1.0~rc6 -- Jon Bernard Sat, 03 Nov 2012 10:20:14 -0400 ltt-control (2.1.0~rc5-1) unstable; urgency=low * [44313ad] New upstream version 2.1.0~rc5 -- Jon Bernard Mon, 22 Oct 2012 21:41:55 -0400 ltt-control (2.1.0~rc4-2) unstable; urgency=low * [538a285] Override dh_makeshlibs to tighten symbol dependencies * [e8e84aa] Depend on a more recent version of liburcu1 (Closes: #688779) -- Jon Bernard Sat, 29 Sep 2012 11:30:56 -0400 ltt-control (2.1.0~rc4-1) unstable; urgency=low * [12b22ae] New upstream version 2.1.0~rc4 -- Jon Bernard Thu, 27 Sep 2012 09:39:03 -0400 ltt-control (2.1.0~rc3-2) unstable; urgency=low * [fbda274] Fix broken lttng-sessiond initscript (Closes: #688730) -- Jon Bernard Tue, 25 Sep 2012 14:25:15 -0400 ltt-control (2.1.0~rc3-1) unstable; urgency=low * [b38aa00] New upstream version 2.1.0~rc3 -- Jon Bernard Fri, 14 Sep 2012 08:55:10 -0400 ltt-control (2.1.0~rc2-1) unstable; urgency=low * [f99ee50] Synchronize with upstream's packaging effort * [9ca37c7] Update watchfile to handle upstream RC releases * [bd91604] New upstream version 2.1.0~rc2 * [8dc90ea] Disable compile time tests -- Jon Bernard Tue, 11 Sep 2012 17:18:55 -0400 ltt-control (0.89-05122011-1) unstable; urgency=low * [35237d1] New upstream version 0.89-05122011 * [14b682b] Bump standards version to 3.9.2, no changes necessary * [c569a54] Remove article from start of description synopses -- Jon Bernard Sun, 19 Jun 2011 09:29:46 -0400 ltt-control (0.88-09242010-2) unstable; urgency=low * [39296c6] Update watchfile url * [9962282] Remove unneeded .la files (Closes: #622462) -- Jon Bernard Sat, 04 Jun 2011 16:10:46 -0400 ltt-control (0.88-09242010-1) unstable; urgency=low * [cff0f9] Imported Upstream version 0.88-09242010 * [ab4374] Bump standards version to 3.9.1, no changes necessary -- Jon Bernard Sun, 26 Sep 2010 21:48:13 -0400 ltt-control (0.87-09062010-1) unstable; urgency=low * [caaaca] Imported Upstream version 0.87-09062010 -- Jon Bernard Fri, 11 Jun 2010 09:35:25 -0400 ltt-control (0.86-19052010-1) unstable; urgency=low * Initial release (Closes: #570042) -- Jon Bernard Thu, 20 May 2010 19:20:24 -0400 debian/compat0000644000000000000000000000000212316562407010372 0ustar 9 debian/lttng-tools.lttng-sessiond.upstart0000644000000000000000000000027712316562407016070 0ustar description "LTTng 2.0 central tracing registry session daemon" author "Stéphane Graber " start on local-filesystems stop on runlevel [06] respawn exec lttng-sessiond debian/lttng-tools.postrm0000644000000000000000000000031612316562407012730 0ustar #!/bin/sh set -e . /usr/share/debconf/confmodule case "$1" in purge) if which delgroup; then delgroup --quiet tracing > /dev/null || true fi ;; esac #DEBHELPER# exit 0 debian/lttng-tools.docs0000644000000000000000000000001412316562407012327 0ustar README TODO debian/lttng-tools.postinst0000644000000000000000000000033312316562407013266 0ustar #!/bin/sh set -e . /usr/share/debconf/confmodule case "$1" in configure) if which addgroup; then addgroup --system --quiet tracing > /dev/null || true fi ;; esac #DEBHELPER# exit 0 debian/liblttng-ctl-dev.install0000644000000000000000000000007712316562407013743 0ustar usr/include usr/lib/*/liblttng-ctl.a usr/lib/*/liblttng-ctl.so debian/rules0000755000000000000000000000125312316562407010255 0ustar #!/usr/bin/make -f DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) # A bug in gcc causes build failure with -fPIE on armel ifneq ($(DEB_BUILD_ARCH), armel) export DEB_BUILD_MAINT_OPTIONS := hardening=+all endif %: dh $@ --with autoreconf override_dh_auto_install: # rename the bash completion file before installation mkdir $(CURDIR)/debian/bash_completion cp $(CURDIR)/extras/lttng-bash_completion $(CURDIR)/debian/bash_completion/lttng dh_auto_install override_dh_installinit: dh_installinit --name=lttng-sessiond override_dh_clean: dh_clean rm -Rf $(CURDIR)/debian/bash_completion override_dh_auto_test: override_dh_makeshlibs: dh_makeshlibs -V debian/lttng-tools.lttng-sessiond.init0000644000000000000000000000767212316562407015337 0ustar #!/bin/sh ### BEGIN INIT INFO # Provides: lttng-sessiond # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: The LTTng session daemon # Description: Main daemon for trace session registry for UST and LTTng ### END INIT INFO # Author: Jon Bernard # PATH should only include /usr/* if it runs after the mountnfs.sh script PATH=/sbin:/usr/sbin:/bin:/usr/bin DESC=lttng-sessiond # Introduce a short description here NAME=lttng-sessiond # Introduce the short server's name here DAEMON=/usr/bin/lttng-sessiond # Introduce the server's location here DAEMON_ARGS="-d" # Arguments to run the daemon with SCRIPTNAME=/etc/init.d/$NAME # Exit if the package is not installed [ -x $DAEMON ] || exit 0 # Read configuration variable file if it is present [ -r /etc/default/$NAME ] && . /etc/default/$NAME # Load the VERBOSE setting and other rcS variables . /lib/init/vars.sh # Define LSB log_* functions. # Depend on lsb-base (>= 3.0-6) to ensure that this file is present. . /lib/lsb/init-functions # # Function that starts the daemon/service # do_start() { # Return # 0 if daemon has been started # 1 if daemon was already running # 2 if daemon could not be started start-stop-daemon --start --quiet --exec $DAEMON --test > /dev/null \ || return 1 start-stop-daemon --start --quiet --exec $DAEMON -- $DAEMON_ARGS \ || return 2 # Add code here, if necessary, that waits for the process to be ready # to handle requests from services started subsequently which depend # on this one. As a last resort, sleep for some time. } # # Function that stops the daemon/service # do_stop() { # Return # 0 if daemon has been stopped # 1 if daemon was already stopped # 2 if daemon could not be stopped # other if a failure occurred start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --exec $DAEMON RETVAL="$?" [ "$RETVAL" = 2 ] && return 2 # Wait for children to finish too if this is a daemon that forks # and if the daemon is only ever run from this initscript. # If the above conditions are not satisfied then add some other code # that waits for the process to drop all resources that could be # needed by services started subsequently. A last resort is to # sleep for some time. start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON [ "$?" = 2 ] && return 2 return "$RETVAL" } # # Function that sends a SIGHUP to the daemon/service # do_reload() { # # If the daemon can reload its configuration without # restarting (for example, when it is sent a SIGHUP), # then implement that here. # start-stop-daemon --stop --signal 1 --quiet --name $NAME return 0 } case "$1" in start) log_daemon_msg "Starting $DESC " "$NAME" do_start case "$?" in 0|1) log_end_msg 0 ;; 2) log_end_msg 1 ;; esac ;; stop) log_daemon_msg "Stopping $DESC" "$NAME" do_stop case "$?" in 0|1) log_end_msg 0 ;; 2) log_end_msg 1 ;; esac ;; status) status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $? ;; restart|force-reload) log_daemon_msg "Restarting $DESC" "$NAME" do_stop case "$?" in 0|1) do_start case "$?" in 0) log_end_msg 0 ;; 1) log_end_msg 1 ;; # Old process is still running *) log_end_msg 1 ;; # Failed to start esac ;; *) # Failed to stop log_end_msg 1 ;; esac ;; *) echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2 exit 3 ;; esac debian/copyright0000644000000000000000000001011012316562407011120 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 Upstream-Name: lttng-tools Source: http://lttng.org/files/lttng-tools/ Files: * Copyright: 2011, David Goulet 2011, Mathieu Desnoyers 2011, Julien Desfossez 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; under version 2 of the License. . 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". Files: include/lttng/lttng.h src/lib/lttng-ctl/lttng-ctl.c Copyright: 2011, David Goulet License: LGPL-2.1 This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; under version 2.1 of the License. . This library 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 Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU Lesser General Public License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". Files: src/common/hashtable/rculfhash.c src/common/hashtable/rculfhash.h src/common/hashtable/rculfhash-internal.h src/common/hashtable/rculfhash-mm-chunk.c src/common/hashtable/rculfhash-mm-mmap.c src/common/hashtable/rculfhash-mm-order.c src/common/hashtable/urcu-flavor.h Copyright: 2011, Mathieu Desnoyers 2011, Lai Jiangshan License: LGPL-2.1 This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; under version 2.1 of the License. . This library 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 Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU Lesser General Public License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1". Files: debian/* Copyright: 2011-2012, Alexandre Montplaisir 2011, Michael Jeanson 2012, Jon Bernard 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". debian/source/0000755000000000000000000000000012316563213010470 5ustar debian/source/format0000644000000000000000000000001412316562407011702 0ustar 3.0 (quilt) debian/liblttng-ctl0.install0000644000000000000000000000003512316562407013241 0ustar usr/lib/*/liblttng-ctl.so.0*