From 37965397e7d5e67a5f6e256a756a409e08be46e0 Mon Sep 17 00:00:00 2001 From: compudj Date: Fri, 7 Jul 2006 17:59:17 +0000 Subject: [PATCH] add spec git-svn-id: http://ltt.polymtl.ca/svn@1981 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt-control/facilities/Makefile.am | 2 + ltt-control/facilities/kernel_arch_x86_64.xml | 619 ++++++++++++++++++ ltt-control/specs/ltt-control.spec | 82 +++ 3 files changed, 703 insertions(+) create mode 100644 ltt-control/facilities/kernel_arch_x86_64.xml create mode 100644 ltt-control/specs/ltt-control.spec diff --git a/ltt-control/facilities/Makefile.am b/ltt-control/facilities/Makefile.am index f6dd958..8c8932e 100644 --- a/ltt-control/facilities/Makefile.am +++ b/ltt-control/facilities/Makefile.am @@ -11,6 +11,7 @@ kernel_arch_i386.xml \ kernel_arch_mips.xml \ kernel_arch_powerpc.xml \ kernel_arch_ppc.xml \ +kernel_arch_x86_64.xml \ stack_arch_i386.xml \ locking.xml \ memory.xml \ @@ -34,6 +35,7 @@ kernel_arch_i386.xml \ kernel_arch_mips.xml \ kernel_arch_powerpc.xml \ kernel_arch_ppc.xml \ +kernel_arch_x86_64.xml \ stack_arch_i386.xml \ locking.xml \ memory.xml \ diff --git a/ltt-control/facilities/kernel_arch_x86_64.xml b/ltt-control/facilities/kernel_arch_x86_64.xml new file mode 100644 index 0000000..2d8d7f5 --- /dev/null +++ b/ltt-control/facilities/kernel_arch_x86_64.xml @@ -0,0 +1,619 @@ + + + The kernel facility has events related to kernel execution status for the x86_64 architecture. + + + + + + + System call entry + Syscall entry number in entry.S + Address from which call was made + + + + System call exit + + diff --git a/ltt-control/specs/ltt-control.spec b/ltt-control/specs/ltt-control.spec new file mode 100644 index 0000000..e5b8a06 --- /dev/null +++ b/ltt-control/specs/ltt-control.spec @@ -0,0 +1,82 @@ +# +# Spec file for ltt-control +# +Summary: LTT Control +Name: ltt-control +Version: 0.12 +Release: 21062006 +License: GPL +Group: Applications/Development +Source: http://ltt.polymtl.ca/lttng/ltt-control-%{version}-%{release}.tar.gz +URL: http://ltt.polymtl.ca +Packager: Martin Bisson +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +# Where do we install the libs +%ifarch x86_64 ppc64 ppc64iseries ia64 +%define libdir /usr/lib64 +%else +%define libdir /usr/lib +%endif + + +%description + +ltt-control is the part of the Linux Trace Toolkit Next Generation +that allows a machine to be traced. It holds the daemon with which +the kernel will communicate and the application that starts and +terminate tracing. + +%prep +%setup -q -n ltt-control-%{version}-%{release} + +%build +./configure --prefix=/usr --libdir=%{libdir} +make + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT install + +%post +echo "Running ldconfig (might take a while)" +ldconfig + +%postun +echo "Running ldconfig (might take a while)" +ldconfig + +%files +%{libdir}/liblttctl.so.0.0.0 +%{libdir}/liblttctl.so.0 +%{libdir}/liblttctl.so +%{libdir}/liblttctl.la +%{libdir}/liblttctl.a +/usr/bin/lttctl +/usr/bin/lttd +/usr/include/liblttctl +/usr/include/liblttctl/lttctl.h +/usr/share/ltt-control +/usr/share/ltt-control/facilities +/usr/share/ltt-control/facilities/core.xml +/usr/share/ltt-control/facilities/fs.xml +/usr/share/ltt-control/facilities/fs_data.xml +/usr/share/ltt-control/facilities/ipc.xml +/usr/share/ltt-control/facilities/kernel.xml +/usr/share/ltt-control/facilities/kernel_arch_arm.xml +/usr/share/ltt-control/facilities/kernel_arch_c2.xml +/usr/share/ltt-control/facilities/kernel_arch_i386.xml +/usr/share/ltt-control/facilities/kernel_arch_mips.xml +/usr/share/ltt-control/facilities/kernel_arch_powerpc.xml +/usr/share/ltt-control/facilities/kernel_arch_ppc.xml +/usr/share/ltt-control/facilities/kernel_arch_x86_64.xml +/usr/share/ltt-control/facilities/stack_arch_i386.xml +/usr/share/ltt-control/facilities/locking.xml +/usr/share/ltt-control/facilities/memory.xml +/usr/share/ltt-control/facilities/network.xml +/usr/share/ltt-control/facilities/process.xml +/usr/share/ltt-control/facilities/socket.xml +/usr/share/ltt-control/facilities/statedump.xml +/usr/share/ltt-control/facilities/timer.xml +/usr/share/ltt-control/facilities/user_generic.xml +/usr/share/ltt-control/facilities/network_ip_interface.xml -- 2.34.1