diff options
author | 2012-08-16 10:19:40 +0800 | |
---|---|---|
committer | 2012-08-16 10:19:40 +0800 | |
commit | a5a43fd8dd9dd0a514dcfaca6ca86f5a3acbfac5 (patch) | |
tree | c1c1def068944af2b756c39b24af3bf09d412ff5 /dev-util | |
parent | dev-util/lttng-tools: New ebuild for bug #431356, thanks floppym and Tommy[D] (diff) | |
download | sunrise-reviewed-a5a43fd8dd9dd0a514dcfaca6ca86f5a3acbfac5.tar.gz sunrise-reviewed-a5a43fd8dd9dd0a514dcfaca6ca86f5a3acbfac5.tar.bz2 sunrise-reviewed-a5a43fd8dd9dd0a514dcfaca6ca86f5a3acbfac5.zip |
dev-util/lttng-modules: New ebuild for bug #431358, thanks floppym and Tommy[D]
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/lttng-modules/ChangeLog | 11 | ||||
-rw-r--r-- | dev-util/lttng-modules/Manifest | 5 | ||||
-rw-r--r-- | dev-util/lttng-modules/lttng-modules-2.0.4.ebuild | 34 | ||||
-rw-r--r-- | dev-util/lttng-modules/lttng-modules-9999.ebuild | 34 | ||||
-rw-r--r-- | dev-util/lttng-modules/metadata.xml | 10 |
5 files changed, 94 insertions, 0 deletions
diff --git a/dev-util/lttng-modules/ChangeLog b/dev-util/lttng-modules/ChangeLog new file mode 100644 index 000000000..1ae07e270 --- /dev/null +++ b/dev-util/lttng-modules/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-util/lttng-modules +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*lttng-modules-9999 (16 Aug 2012) +*lttng-modules-2.0.4 (16 Aug 2012) + + 16 Aug 2012; Lan Yixun (dlan) <dennis.yxun@gmail.com> + +lttng-modules-2.0.4.ebuild, +lttng-modules-9999.ebuild, +metadata.xml: + New ebuild for bug #431358, thanks floppym and Tommy[D] + diff --git a/dev-util/lttng-modules/Manifest b/dev-util/lttng-modules/Manifest new file mode 100644 index 000000000..661485910 --- /dev/null +++ b/dev-util/lttng-modules/Manifest @@ -0,0 +1,5 @@ +DIST lttng-modules-2.0.4.tar.bz2 138812 SHA256 f00116c388289192774c774581a651832be094aeb6da2f2c0f9c9e275fed2d14 SHA512 84778e8b3cf2032c78fc84aa1b2118be236167ad2e2605303d4b49a026f53ed7ea9427aae65dc99c7001f896f3de87fc87575e5ddcf1724aa7b6f8c0bd4071f6 WHIRLPOOL a92e2c05ff059d4397e2c428115a67768751b517918ac3323bfcc82205b2af896d0f0e3bb477d58ea849ce0bd76582655599c3a6573d4971934a33b38c9ab45b +EBUILD lttng-modules-2.0.4.ebuild 707 SHA256 972f9f92160c971beed8abc87574db42a96545047d5db3b7a874c2b1d09bdebb SHA512 7e860658c986a6e5f35912f6dfabe0343b8321ebd9b519b1e384b282a1db1f0510a4fe1dfe68dbbd2488f70cfa7f5537c45d0193ea8edd78480bccb1a5f246df WHIRLPOOL 58285fb81e404dd466d1d987126e822dc04d77b8ab37b15540037e50c2c4d5bddf420c04fa0a1e5fdff7d3c55c1a4bc1ead992185629423d02d4e9fbdbdcd9e2 +EBUILD lttng-modules-9999.ebuild 703 SHA256 09ab11245d537dced0b1ad12a47d8ae0eea5307d6d0cf315ebfbf04aae593fea SHA512 3844f28d4700f9050c4d5f4107b6f82c09f5ef44744fd26c4a1e63323d75e553e521cc4b7ca3987989908abfaaab5650c575c40912167c039aaee2ad40be66db WHIRLPOOL deb6e3acc264ee5bb028251bf8ba9daf0b42b7b4e2cd3aecd96f8fefc16b72d28d08b09e186b5eca5a5d60810a96bb05e913ef418009097179910fd850011303 +MISC ChangeLog 382 SHA256 7a8191a45e36c0096e30c69c2eea59c027889781a1488113dbbcac86c7de5ce1 SHA512 1cbfb3bfdbd21db0fa850d31dcf5df8d04346e9f488da3dce91abe3e350f919449aa542759fb6ef830e77de5f9b61a5b7e67c5d6211983c2c6b61a1a3f97db3e WHIRLPOOL eb2028955e71f06ad2c9dbc4d3a8c759ed648c7d2e48a428a4456b1adcddd104dd7d4ab73c7340464765cdf1e4429417a16e7c882887670034032cbb4e9a4192 +MISC metadata.xml 668 SHA256 953303211d7288b8a261c323964205bf8c37280456f54a44ab1dd61bff68c2a9 SHA512 248b818483bfc1c96fced2351cd9729219562973f6310768663ce6f91bc4fcd8a9bba1b7891caf490531683125589fc4fabe4a64392794c954a319a1745a197a WHIRLPOOL eb0ba226afdd15a159cc736bb9c1a9bb279c4efa11b08ed8f9ef4789e1850492786e99bd5effb7d28f3316f3cbc1ecd1cd84bb28592fdc4b1cf50ed1b1e07dd3 diff --git a/dev-util/lttng-modules/lttng-modules-2.0.4.ebuild b/dev-util/lttng-modules/lttng-modules-2.0.4.ebuild new file mode 100644 index 000000000..37bce4918 --- /dev/null +++ b/dev-util/lttng-modules/lttng-modules-2.0.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit linux-mod + +DESCRIPTION="LTTng Kernel Tracer Modules" +HOMEPAGE="http://lttng.org" +SRC_URI="http://lttng.org/files/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +CONFIG_CHECK="MODULES KALLSYMS HIGH_RES_TIMERS TRACEPOINTS + ~HAVE_SYSCALL_TRACEPOINTS ~PERF_EVENTS ~EVENT_TRACING ~KPROBES KRETPROBES" + +pkg_pretend() { + if kernel_is lt 2 6 27; then + eerror "${PN} require Linux kernel >= 2.6.27" + die "Please update your kernel!" + fi +} + +src_compile() { + emake default +} + +src_install() { + emake DESTDIR="${D}" INSTALL_MOD_PATH="${D}" modules_install +} diff --git a/dev-util/lttng-modules/lttng-modules-9999.ebuild b/dev-util/lttng-modules/lttng-modules-9999.ebuild new file mode 100644 index 000000000..68002419a --- /dev/null +++ b/dev-util/lttng-modules/lttng-modules-9999.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit git-2 linux-mod + +DESCRIPTION="LTTng Kernel Tracer Modules" +HOMEPAGE="http://lttng.org" +EGIT_REPO_URI="git://git.lttng.org/${PN}.git" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="" + +CONFIG_CHECK="MODULES KALLSYMS HIGH_RES_TIMERS TRACEPOINTS + ~HAVE_SYSCALL_TRACEPOINTS ~PERF_EVENTS ~EVENT_TRACING ~KPROBES KRETPROBES" + +pkg_pretend() { + if kernel_is lt 2 6 27; then + eerror "${PN} require Linux kernel >= 2.6.27" + die "Please update your kernel!" + fi +} + +src_compile() { + emake default +} + +src_install() { + emake DESTDIR="${D}" INSTALL_MOD_PATH="${D}" modules_install +} diff --git a/dev-util/lttng-modules/metadata.xml b/dev-util/lttng-modules/metadata.xml new file mode 100644 index 000000000..d910678d8 --- /dev/null +++ b/dev-util/lttng-modules/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <longdescription> + Use the kernel tracer if you are debugging a system-wide performance problem or a kernel problem. This tracer comes with an instrumentation patch for most kernel subsystems, which is enough to debug many problems. This includes system calls, IRQs, traps, memory management, softIRQs, scheduling and many others. Of course, the kernel tracer allows you to add your own instrumentation anywhere in the kernel code. + </longdescription> + <maintainer> + <email>maintainer-wanted@gentoo.org</email> + </maintainer> +</pkgmetadata> |