summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2022-02-18 13:42:57 +0100
committerFlorian Schmaus <flow@gentoo.org>2022-02-18 13:42:57 +0100
commit5401e5fb860810b3d48376363e947473187502d6 (patch)
treece3a407fb132da30f71afe463e9b7c78233c2570 /dev-util/FlameGraph
parentwww-client/firefox: disable gold linker for good on 97.0.1 (diff)
downloadgentoo-5401e5fb860810b3d48376363e947473187502d6.tar.gz
gentoo-5401e5fb860810b3d48376363e947473187502d6.tar.bz2
gentoo-5401e5fb860810b3d48376363e947473187502d6.zip
dev-util/FlameGraph: initial import
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-util/FlameGraph')
-rw-r--r--dev-util/FlameGraph/FlameGraph-1.0.ebuild32
-rw-r--r--dev-util/FlameGraph/FlameGraph-9999.ebuild32
-rw-r--r--dev-util/FlameGraph/Manifest1
-rw-r--r--dev-util/FlameGraph/metadata.xml8
4 files changed, 73 insertions, 0 deletions
diff --git a/dev-util/FlameGraph/FlameGraph-1.0.ebuild b/dev-util/FlameGraph/FlameGraph-1.0.ebuild
new file mode 100644
index 000000000000..dbf96c39df4e
--- /dev/null
+++ b/dev-util/FlameGraph/FlameGraph-1.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Visualization of hierarchical data, especially pofiled stack traces"
+HOMEPAGE="https://www.brendangregg.com/flamegraphs.html https://github.com/brendangregg/FlameGraph"
+
+if [[ ${PV} == "9999" ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/brendangregg/FlameGraph.git"
+else
+ SRC_URI="https://github.com/brendangregg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="CDDL"
+SLOT="0"
+
+RDEPEND="
+ dev-lang/perl
+ virtual/awk
+"
+
+src_test() {
+ ./test.sh || die
+}
+
+src_install() {
+ dobin *.pl *.awk
+ dodoc README.md
+}
diff --git a/dev-util/FlameGraph/FlameGraph-9999.ebuild b/dev-util/FlameGraph/FlameGraph-9999.ebuild
new file mode 100644
index 000000000000..dbf96c39df4e
--- /dev/null
+++ b/dev-util/FlameGraph/FlameGraph-9999.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Visualization of hierarchical data, especially pofiled stack traces"
+HOMEPAGE="https://www.brendangregg.com/flamegraphs.html https://github.com/brendangregg/FlameGraph"
+
+if [[ ${PV} == "9999" ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/brendangregg/FlameGraph.git"
+else
+ SRC_URI="https://github.com/brendangregg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="CDDL"
+SLOT="0"
+
+RDEPEND="
+ dev-lang/perl
+ virtual/awk
+"
+
+src_test() {
+ ./test.sh || die
+}
+
+src_install() {
+ dobin *.pl *.awk
+ dodoc README.md
+}
diff --git a/dev-util/FlameGraph/Manifest b/dev-util/FlameGraph/Manifest
new file mode 100644
index 000000000000..e9fbf9de7925
--- /dev/null
+++ b/dev-util/FlameGraph/Manifest
@@ -0,0 +1 @@
+DIST FlameGraph-1.0.tar.gz 1049627 BLAKE2B 4ac6669de754d5c17cd783a2f4aca956f48ef5f2d02740ee63c10629b940df70ea4ea66b8ea5ebbe3c1da5ca74987383ffd700409ce469ad43eedcb72d2e8a3c SHA512 0ae27fd14f76f0db7873a50079efb2bc4fd77ee6550700746b51eeee6813fbebb233d35d744e1b397734da9f89b25c4c0de3567f283cf1218ee7baee46e1b8e8
diff --git a/dev-util/FlameGraph/metadata.xml b/dev-util/FlameGraph/metadata.xml
new file mode 100644
index 000000000000..87a759d410cf
--- /dev/null
+++ b/dev-util/FlameGraph/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Florian Schmaus</name>
+ <email>flow@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>