debian/0000755000000000000000000000000012315037030007160 5ustar debian/control0000644000000000000000000000221012315036770010570 0ustar Source: lttng-modules Section: kernel Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Jon Bernard Build-Depends: debhelper (>= 9), dkms (>= 2.1.0.0) Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/collab-maint/lttng-modules.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/lttng-modules.git;a=summary Homepage: http://lttng.org Package: lttng-modules-dkms Architecture: all Depends: ${misc:Depends} Recommends: lttng-tools Description: Linux Trace Toolkit (LTTng) kernel modules (DKMS) 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 contains the LTTng kernel modules. These provide additional instrumentation (not found in the mainline kernel), the ring buffer library, the tracer itself, and some additional utilities. . Installing on kernel versions prior to 2.6.38 might be possible, but has not been tested. debian/watch0000644000000000000000000000020212310715006010204 0ustar version=3 opts=uversionmangle=s/-(rc\d|pre\d)/~$1/ \ http://lttng.org/files/lttng-modules/lttng-modules-(.*)\.tar\.(?:gz|bz2) debian/changelog0000644000000000000000000000531012315036774011047 0ustar lttng-modules (2.4.0-1ubuntu1) trusty; urgency=medium * Fix installation failure due to invalid version string... -- Stéphane Graber Thu, 27 Mar 2014 11:04:27 -0400 lttng-modules (2.4.0-1) unstable; urgency=low * [8764991] New upstream version 2.4.0 (Closes: #734305) -- Jon Bernard Fri, 14 Mar 2014 20:07:40 -0400 lttng-modules (2.4.0~rc3-1) experimental; urgency=low * [9fe0e76] New upstream version 2.4.0~rc3 * [a111ad6] Bump Standards-Version to 3.9.5, no changes necessary * [9565704] Update VCS fields * [943a589] Update watch file to only uversionmangle * [ce07d9b] Update module version number in dkms config -- Jon Bernard Thu, 13 Feb 2014 17:44:35 -0500 lttng-modules (2.3.2-1) unstable; urgency=low * [0e22097] New upstream version 2.3.2 * [6e282fe] Correct module version number in dkms config * [f5c5d38] Include missing modules in dkms config. Thanks to Vincent Bernat (Closes: #723850) -- Jon Bernard Sat, 19 Oct 2013 18:55:20 -0400 lttng-modules (2.3.0-1) unstable; urgency=low * [d8209ca] New upstream version 2.3.0 -- Jon Bernard Tue, 03 Sep 2013 22:10:20 -0400 lttng-modules (2.3.0~rc2-1) unstable; urgency=low * [df00912] New upstream version 2.3.0~rc2 -- Jon Bernard Mon, 02 Sep 2013 13:09:19 -0400 lttng-modules (2.3.0~rc1-2) unstable; urgency=low * [ee85460] Update dkms config to match last upstream release (Closes: #717165) -- Jon Bernard Mon, 26 Aug 2013 12:45:41 -0400 lttng-modules (2.3.0~rc1-1) unstable; urgency=low * [e0f821c] New upstream version 2.3.0~rc1 (Closes: #717165) * [ef3a22d] Correct Section from misc to kernel * [46de1ab] Bump Standards-Version to 3.9.4, no changes necessary * [1cbff65] Remove bashism patch, included upstream -- Jon Bernard Fri, 02 Aug 2013 13:03:29 -0400 lttng-modules (2.1.0-2) unstable; urgency=low * [cc76040] Include upstream fix to remove bashims (Closes: #690718) -- Jon Bernard Mon, 13 May 2013 14:06:56 -0400 lttng-modules (2.1.0-1) unstable; urgency=low * [2c7eeb2] New upstream version 2.1.0 -- Jon Bernard Tue, 29 Jan 2013 11:08:50 -0500 lttng-modules (2.1.0~rc1-1) unstable; urgency=low * [74fbff0] Improve short description * [ad5fb86] Update watchfile to handle upstream RC releases * [3eae7ff] New upstream version 2.1.0~rc1 -- Jon Bernard Tue, 11 Sep 2012 15:20:24 -0400 lttng-modules (2.0.4-1) unstable; urgency=low * Initial release (Closes: #680788) -- Jon Bernard Sun, 08 Jul 2012 14:15:43 -0400 debian/compat0000644000000000000000000000000212310715006010357 0ustar 9 debian/lttng-modules-dkms.dkms0000644000000000000000000001601312315036745013607 0ustar PACKAGE_NAME="lttng-modules" PACKAGE_VERSION="2.4.0" AUTOINSTALL="yes" i=0 # Pretty horrible hack ... KCONFIG=false if [ -f /boot/config-$kernelver ]; then . /boot/config-$kernelver KCONFIG=true fi MAKE[$i]="make -C $kernel_source_dir M=$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build modules" BUILT_MODULE_NAME[$i]="lttng-lib-ring-buffer" BUILT_MODULE_LOCATION[$i]="lib/" DEST_MODULE_LOCATION[$i]="/extra/lib" i=$((i+1)) BUILT_MODULE_NAME[$i]="lttng-ring-buffer-client-discard" DEST_MODULE_LOCATION[$i]="/extra" i=$((i+1)) BUILT_MODULE_NAME[$i]="lttng-ring-buffer-client-mmap-discard" DEST_MODULE_LOCATION[$i]="/extra" i=$((i+1)) BUILT_MODULE_NAME[$i]="lttng-ring-buffer-client-mmap-overwrite" DEST_MODULE_LOCATION[$i]="/extra" i=$((i+1)) BUILT_MODULE_NAME[$i]="lttng-ring-buffer-client-overwrite" DEST_MODULE_LOCATION[$i]="/extra" i=$((i+1)) BUILT_MODULE_NAME[$i]="lttng-ring-buffer-metadata-client" DEST_MODULE_LOCATION[$i]="/extra" i=$((i+1)) BUILT_MODULE_NAME[$i]="lttng-ring-buffer-metadata-mmap-client" DEST_MODULE_LOCATION[$i]="/extra" i=$((i+1)) BUILT_MODULE_NAME[$i]="lttng-statedump" DEST_MODULE_LOCATION[$i]="/extra" i=$((i+1)) BUILT_MODULE_NAME[$i]="lttng-tracer" DEST_MODULE_LOCATION[$i]="/extra" i=$((i+1)) if [ "$KCONFIG" = "true" ] && [ -n "$CONFIG_SND_SOC" ]; then BUILT_MODULE_NAME[$i]="lttng-probe-asoc" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) fi if [ "$KCONFIG" = "true" ] && [ -n "$CONFIG_BLOCK" ] && [ -n "$CONFIG_EVENT_TRACING" ]; then BUILT_MODULE_NAME[$i]="lttng-probe-block" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) fi BUILT_MODULE_NAME[$i]="lttng-probe-compaction" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) if [ "$KCONFIG" = "true" ] && [ -n "$CONFIG_GPIOLIB" ]; then BUILT_MODULE_NAME[$i]="lttng-probe-gpio" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) fi BUILT_MODULE_NAME[$i]="lttng-probe-irq" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) if [ "$KCONFIG" = "true" ] && [ -n "$CONFIG_JBD" ]; then BUILT_MODULE_NAME[$i]="lttng-probe-jbd" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) fi if [ "$KCONFIG" = "true" ] && [ -n "$CONFIG_JBD2" ]; then BUILT_MODULE_NAME[$i]="lttng-probe-jbd2" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) fi BUILT_MODULE_NAME[$i]="lttng-probe-kmem" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) if [ "$KCONFIG" = "true" ] && [ -n "$CONFIG_KVM" ]; then BUILT_MODULE_NAME[$i]="lttng-probe-kvm" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) fi BUILT_MODULE_NAME[$i]="lttng-probe-module" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) if [ "$KCONFIG" = "true" ] && [ -n "$CONFIG_NET" ]; then BUILT_MODULE_NAME[$i]="lttng-probe-napi" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) BUILT_MODULE_NAME[$i]="lttng-probe-net" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) BUILT_MODULE_NAME[$i]="lttng-probe-skb" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) BUILT_MODULE_NAME[$i]="lttng-probe-sock" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) BUILT_MODULE_NAME[$i]="lttng-probe-udp" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) fi BUILT_MODULE_NAME[$i]="lttng-probe-power" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) BUILT_MODULE_NAME[$i]="lttng-probe-printk" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) BUILT_MODULE_NAME[$i]="lttng-probe-random" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) BUILT_MODULE_NAME[$i]="lttng-probe-rcu" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) if [ "$KCONFIG" = "true" ] && [ -n "$CONFIG_REGMAP" ]; then BUILT_MODULE_NAME[$i]="lttng-probe-regmap" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) fi if [ "$KCONFIG" = "true" ] && [ -n "$CONFIG_REGULATOR" ]; then BUILT_MODULE_NAME[$i]="lttng-probe-regulator" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) fi if [ "$KCONFIG" = "true" ] && [ -n "$CONFIG_PM_RUNTIME" ]; then BUILT_MODULE_NAME[$i]="lttng-probe-rpm" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) fi BUILT_MODULE_NAME[$i]="lttng-probe-sched" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) if [ "$KCONFIG" = "true" ] && [ -n "$CONFIG_SCSI" ]; then BUILT_MODULE_NAME[$i]="lttng-probe-scsi" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) fi BUILT_MODULE_NAME[$i]="lttng-probe-signal" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) BUILT_MODULE_NAME[$i]="lttng-probe-statedump" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) if [ "$KCONFIG" = "true" ] && [ -n "$CONFIG_SUNRPC" ]; then BUILT_MODULE_NAME[$i]="lttng-probe-sunrpc" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) fi BUILT_MODULE_NAME[$i]="lttng-probe-timer" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) BUILT_MODULE_NAME[$i]="lttng-probe-vmscan" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) BUILT_MODULE_NAME[$i]="lttng-probe-workqueue" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) if [ "$KCONFIG" = "true" ] && [ -n "$CONFIG_KALLSYMS_ALL" ]; then BUILT_MODULE_NAME[$i]="lttng-probe-writeback" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) fi if [ "$KCONFIG" = "true" ] && [ -n "$CONFIG_KPROBES" ]; then BUILT_MODULE_NAME[$i]="lttng-kprobes" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) fi if [ "$KCONFIG" = "true" ] && [ -n "$CONFIG_KRETPROBES" ]; then BUILT_MODULE_NAME[$i]="lttng-kretprobes" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) fi if [ "$KCONFIG" = "true" ] && [ -n "$CONFIG_DYNAMIC_FTRACE" ]; then BUILT_MODULE_NAME[$i]="lttng-ftrace" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) fi BUILT_MODULE_NAME[$i]="lttng-types" BUILT_MODULE_LOCATION[$i]="probes/" DEST_MODULE_LOCATION[$i]="/extra/probes" i=$((i+1)) debian/rules0000755000000000000000000000122312310715006010237 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 upstreamversion := $(shell dpkg-parsechangelog | sed -n 's/^Version: *\([^-]\+\)-.\+/\1/p') %: dh $@ --with dkms override_dh_dkms: dh_dkms -V $(upstreamversion) override_dh_auto_install: # Build install files for the dkms'ified sources sed -e 's/CVERSION/$(upstreamversion)/g' < debian/lttng-modules-dkms.install.in > debian/lttng-modules-dkms.install dh_auto_install override_dh_install: dh_install -Xdebian override_dh_auto_clean: exit 0 override_dh_auto_build: exit 0 override_dh_clean: rm -f debian/lttng-modules-dkms.install dh_clean debian/lttng-modules-dkms.install.in0000644000000000000000000000004312310715006014705 0ustar * /usr/src/lttng-modules-CVERSION/ debian/copyright0000644000000000000000000000666212310715006011126 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: lttng-modules Source: http://lttng.org Files: * Copyright: 2005-2011 Mathieu Desnoyers License: LGPL-2.1 or GPL-2 Files: lib/prio_heap/lttng_prio_heap.c lib/prio_heap/lttng_prio_heap.h lib/bitfield.h Copyright: 2010-2011 Mathieu Desnoyers mathieu.desnoyers@polymtl.ca License: Expat Files: lib/ringbuffer/ring_buffer_splice.c lib/ringbuffer/ring_buffer_mmap.c instrumentation/events/mainline/*.h instrumentation/events/lttng-modules/*.h Copyright: 2002-2005 Tom Zanussi , IBM Corp 1999-2005 Karim Yaghmour 2008-2010 Mathieu Desnoyers License: GPL-2 Files: debian/* Copyright: 2011 Michael Jeanson 2011 Stéphane Graber 2012 Jon Bernard License: GPL-2 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. . 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 library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/LGPL-2.1". 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. . 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". License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/source/0000755000000000000000000000000012310715006010461 5ustar debian/source/format0000644000000000000000000000001412310715006011667 0ustar 3.0 (quilt)