public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-util/0xtools/
@ 2024-09-28 15:00 Maciej Barć
  0 siblings, 0 replies; 12+ messages in thread
From: Maciej Barć @ 2024-09-28 15:00 UTC (permalink / raw
  To: gentoo-commits

commit:     fcb9d022ea2a8bf208f329e0a456e2dcb2f06fcf
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 28 13:13:37 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Sep 28 15:00:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcb9d022

dev-util/0xtools: replace xtop launcher

Closes: https://bugs.gentoo.org/940266
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 .../0xtools/{0xtools-2.0.3-r1.ebuild => 0xtools-2.0.3-r2.ebuild}    | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-util/0xtools/0xtools-2.0.3-r1.ebuild b/dev-util/0xtools/0xtools-2.0.3-r2.ebuild
similarity index 88%
rename from dev-util/0xtools/0xtools-2.0.3-r1.ebuild
rename to dev-util/0xtools/0xtools-2.0.3-r2.ebuild
index 395a7ccf798a..e6903af81533 100644
--- a/dev-util/0xtools/0xtools-2.0.3-r1.ebuild
+++ b/dev-util/0xtools/0xtools-2.0.3-r2.ebuild
@@ -52,7 +52,7 @@ src_install() {
 
 	# C executables and scripts
 	exeinto /usr/bin
-	doexe bin/{cpumhz,vmtop,xcapture,xtop}
+	doexe bin/{cpumhz,vmtop,xcapture}
 	doexe bin/{run_xcapture.sh,run_xcpu.sh}
 
 	# Python executables
@@ -73,6 +73,10 @@ src_install() {
 	doins bin/xcapture-bpf.c
 	make_wrapper xcapture-bpf "/lib/${PN}/xcapture/xcapture-bpf"
 
+	# There is a upstream command "xtop" that wraps around "xcapture-bpf"
+	# but its broken because of dynamic path lookup for "xcapture-bpf".
+	make_wrapper xtop "xcapture-bpf --xtop --clear-screen"
+
 	# Service config
 	insinto /etc/default
 	newins xcapture.default xcapture


^ permalink raw reply related	[flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/0xtools/
@ 2024-09-24 10:23 Maciej Barć
  0 siblings, 0 replies; 12+ messages in thread
From: Maciej Barć @ 2024-09-24 10:23 UTC (permalink / raw
  To: gentoo-commits

commit:     7dd4346ee15ab8b3e24b69d5e5891aa67f34acaa
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 24 10:23:10 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Sep 24 10:23:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dd4346e

dev-util/0xtools: drop old 1.2.4

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-util/0xtools/0xtools-1.2.4.ebuild | 62 -----------------------------------
 dev-util/0xtools/Manifest             |  1 -
 2 files changed, 63 deletions(-)

diff --git a/dev-util/0xtools/0xtools-1.2.4.ebuild b/dev-util/0xtools/0xtools-1.2.4.ebuild
deleted file mode 100644
index 0b5161d406e2..000000000000
--- a/dev-util/0xtools/0xtools-1.2.4.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit python-single-r1 systemd toolchain-funcs
-
-DESCRIPTION="Always-on profiling for production systems"
-HOMEPAGE="https://0x.tools/
-	https://github.com/tanelpoder/0xtools/"
-
-if [[ ${PV} == *9999* ]] ; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/tanelpoder/${PN}.git"
-else
-	SRC_URI="https://github.com/tanelpoder/${PN}/archive/v${PV}.tar.gz
-		-> ${P}.tar.gz"
-	KEYWORDS="amd64 ~x86"
-fi
-
-LICENSE="GPL-2+"
-SLOT="0"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}"
-BDEPEND="${RDEPEND}"
-
-DOCS=( CHANGELOG.md README.md )
-
-src_compile() {
-	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}"
-
-	sed -e "/^sys.path.append/s|(.*)|('$(python_get_sitedir)/${PN}')|"	\
-		-i bin/psn -i bin/schedlat || die
-}
-
-src_install() {
-	# C executables and scripts
-	exeinto /usr/bin
-	doexe bin/{run_xcapture.sh,run_xcpu.sh,vmtop,xcapture}
-
-	# Python executables
-	python_domodule lib/${PN}
-	python_doscript bin/psn
-	python_doscript bin/schedlat
-
-	# Service
-	systemd_dounit xcapture.service
-	systemd_dounit xcapture-restart.service
-	systemd_dounit xcapture-restart.timer
-
-	# Service config
-	insinto /etc/default
-	newins xcapture.default xcapture
-
-	# Service logs
-	keepdir /var/log/xcapture
-
-	einstalldocs
-}

diff --git a/dev-util/0xtools/Manifest b/dev-util/0xtools/Manifest
index 2081ef359603..62add8499536 100644
--- a/dev-util/0xtools/Manifest
+++ b/dev-util/0xtools/Manifest
@@ -1,3 +1,2 @@
-DIST 0xtools-1.2.4.tar.gz 61830 BLAKE2B 6221ded289bc4cf4c39527f35d1ad3ee43f41a60a4a9877056a5ff74fcdd203575d96edbf13af1d32bcc49465d87a2133a8dbec813ae9a5bb233b5fe2e4a36b3 SHA512 f835de65e783d9eb4b26f38be155961a2f4da91639c7e1e39df71cf8be17d27987c8749e44b7b6affe6cdc45c5f65c90be5b2cf22b2f37dcc2eb45452a384ff3
 DIST 0xtools-2.0.2.tar.gz 5989710 BLAKE2B 5e4efd4d21e3ed1fc8b1eed5378d25af3170f2386c738a68d28df5bad44ebdb88fd20a0b554d101b678c15131adb83ae786df1267c8333075c58ea58b8c2ce88 SHA512 5cb627e9b990063867869cdbbdefd7e2b6151410ac19950f683086c9200a8ba1f92192378779dbabc4efd91283cd23243a4b46259d97426331f823941b85883b
 DIST 0xtools-2.0.3.tar.gz 5991280 BLAKE2B 26d71f43a0fbe72d38e675cc525fc91b4a738dd3a99ef6804f8855d15341a423d1b5c54ba9e015bea539d15617393d8994c1415a3ee0b74d2d49e97f6b243586 SHA512 012655d8d12fe5a853ccb9503471893ee09bf0fbbe5d3b3be52b5857cac965be63279546c240748d10d727abc2383b8cf2e91b07ffee69ae509494fb5c5d6767


^ permalink raw reply related	[flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/0xtools/
@ 2024-09-24 10:23 Maciej Barć
  0 siblings, 0 replies; 12+ messages in thread
From: Maciej Barć @ 2024-09-24 10:23 UTC (permalink / raw
  To: gentoo-commits

commit:     2733ec05fac90169287bcbec2e6e669a57629e7d
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 24 10:17:00 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Sep 24 10:22:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2733ec05

dev-util/0xtools: fix dependencies

Closes: https://bugs.gentoo.org/939913
Closes: https://bugs.gentoo.org/939914
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 ...xtools-2.0.3.ebuild => 0xtools-2.0.3-r1.ebuild} | 24 +++++++++++++++++-----
 1 file changed, 19 insertions(+), 5 deletions(-)

diff --git a/dev-util/0xtools/0xtools-2.0.3.ebuild b/dev-util/0xtools/0xtools-2.0.3-r1.ebuild
similarity index 72%
rename from dev-util/0xtools/0xtools-2.0.3.ebuild
rename to dev-util/0xtools/0xtools-2.0.3-r1.ebuild
index 8f4e383cb9f6..395a7ccf798a 100644
--- a/dev-util/0xtools/0xtools-2.0.3.ebuild
+++ b/dev-util/0xtools/0xtools-2.0.3-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{11..12} )
 
-inherit python-single-r1 systemd toolchain-funcs
+inherit python-single-r1 systemd toolchain-funcs wrapper
 
 DESCRIPTION="Always-on profiling for production systems"
 HOMEPAGE="https://0x.tools/
@@ -26,11 +26,15 @@ LICENSE="GPL-2+"
 SLOT="0"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
-RDEPEND="
+BDEPEND="
 	${PYTHON_DEPS}
 "
-BDEPEND="
-	${RDEPEND}
+RDEPEND="
+	${BDEPEND}
+	sys-power/cpupower
+	$(python_gen_cond_dep '
+		dev-util/bcc[${PYTHON_USEDEP}]
+	')
 "
 
 DOCS=( CHANGELOG.md README.md )
@@ -43,9 +47,12 @@ src_compile() {
 }
 
 src_install() {
+	# "cpumhzturbo" requires "turbostat", which is not packaged,
+	# see bug: https://bugs.gentoo.org/939913
+
 	# C executables and scripts
 	exeinto /usr/bin
-	doexe bin/{cpumhz,cpumhzturbo,vmtop,xcapture,xtop}
+	doexe bin/{cpumhz,vmtop,xcapture,xtop}
 	doexe bin/{run_xcapture.sh,run_xcpu.sh}
 
 	# Python executables
@@ -59,6 +66,13 @@ src_install() {
 	systemd_dounit xcapture-restart.service
 	systemd_dounit xcapture-restart.timer
 
+	# Setup for "xcapture-bpf".
+	exeinto "/lib/${PN}/xcapture"
+	doexe bin/xcapture-bpf
+	insinto "/lib/${PN}/xcapture"
+	doins bin/xcapture-bpf.c
+	make_wrapper xcapture-bpf "/lib/${PN}/xcapture/xcapture-bpf"
+
 	# Service config
 	insinto /etc/default
 	newins xcapture.default xcapture


^ permalink raw reply related	[flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/0xtools/
@ 2024-09-24 10:23 Maciej Barć
  0 siblings, 0 replies; 12+ messages in thread
From: Maciej Barć @ 2024-09-24 10:23 UTC (permalink / raw
  To: gentoo-commits

commit:     3694bba1c7468b784e706e7dbe75cb1886edcfd2
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 24 10:23:26 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Sep 24 10:23:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3694bba1

dev-util/0xtools: drop old 2.0.2

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-util/0xtools/0xtools-2.0.2.ebuild | 70 -----------------------------------
 dev-util/0xtools/Manifest             |  1 -
 2 files changed, 71 deletions(-)

diff --git a/dev-util/0xtools/0xtools-2.0.2.ebuild b/dev-util/0xtools/0xtools-2.0.2.ebuild
deleted file mode 100644
index 8f4e383cb9f6..000000000000
--- a/dev-util/0xtools/0xtools-2.0.2.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{11..12} )
-
-inherit python-single-r1 systemd toolchain-funcs
-
-DESCRIPTION="Always-on profiling for production systems"
-HOMEPAGE="https://0x.tools/
-	https://github.com/tanelpoder/0xtools/"
-
-if [[ "${PV}" == *9999* ]] ; then
-	inherit git-r3
-
-	EGIT_REPO_URI="https://github.com/tanelpoder/${PN}.git"
-else
-	SRC_URI="https://github.com/tanelpoder/${PN}/archive/v${PV}.tar.gz
-		-> ${P}.tar.gz"
-
-	KEYWORDS="amd64 ~x86"
-fi
-
-LICENSE="GPL-2+"
-SLOT="0"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
-	${PYTHON_DEPS}
-"
-BDEPEND="
-	${RDEPEND}
-"
-
-DOCS=( CHANGELOG.md README.md )
-
-src_compile() {
-	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}"
-
-	sed -e "/^sys.path.append/s|(.*)|('$(python_get_sitedir)/${PN}')|"	\
-		-i bin/psn -i bin/schedlat || die
-}
-
-src_install() {
-	# C executables and scripts
-	exeinto /usr/bin
-	doexe bin/{cpumhz,cpumhzturbo,vmtop,xcapture,xtop}
-	doexe bin/{run_xcapture.sh,run_xcpu.sh}
-
-	# Python executables
-	python_domodule "lib/${PN}"
-	python_doscript bin/psn
-	python_doscript bin/schedlat
-	python_doscript bin/syscallargs
-
-	# Service
-	systemd_dounit xcapture.service
-	systemd_dounit xcapture-restart.service
-	systemd_dounit xcapture-restart.timer
-
-	# Service config
-	insinto /etc/default
-	newins xcapture.default xcapture
-
-	# Service logs
-	keepdir /var/log/xcapture
-
-	einstalldocs
-}

diff --git a/dev-util/0xtools/Manifest b/dev-util/0xtools/Manifest
index 62add8499536..93776260a758 100644
--- a/dev-util/0xtools/Manifest
+++ b/dev-util/0xtools/Manifest
@@ -1,2 +1 @@
-DIST 0xtools-2.0.2.tar.gz 5989710 BLAKE2B 5e4efd4d21e3ed1fc8b1eed5378d25af3170f2386c738a68d28df5bad44ebdb88fd20a0b554d101b678c15131adb83ae786df1267c8333075c58ea58b8c2ce88 SHA512 5cb627e9b990063867869cdbbdefd7e2b6151410ac19950f683086c9200a8ba1f92192378779dbabc4efd91283cd23243a4b46259d97426331f823941b85883b
 DIST 0xtools-2.0.3.tar.gz 5991280 BLAKE2B 26d71f43a0fbe72d38e675cc525fc91b4a738dd3a99ef6804f8855d15341a423d1b5c54ba9e015bea539d15617393d8994c1415a3ee0b74d2d49e97f6b243586 SHA512 012655d8d12fe5a853ccb9503471893ee09bf0fbbe5d3b3be52b5857cac965be63279546c240748d10d727abc2383b8cf2e91b07ffee69ae509494fb5c5d6767


^ permalink raw reply related	[flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/0xtools/
@ 2024-09-24 10:23 Maciej Barć
  0 siblings, 0 replies; 12+ messages in thread
From: Maciej Barć @ 2024-09-24 10:23 UTC (permalink / raw
  To: gentoo-commits

commit:     df4279f3b92ee3c717d996863e6367f03f9a208f
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 24 10:18:00 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Sep 24 10:22:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df4279f3

dev-util/0xtools: sync live 9999 version

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-util/0xtools/0xtools-9999.ebuild | 40 ++++++++++++++++++++++++++++--------
 1 file changed, 31 insertions(+), 9 deletions(-)

diff --git a/dev-util/0xtools/0xtools-9999.ebuild b/dev-util/0xtools/0xtools-9999.ebuild
index 3b7026647b97..395a7ccf798a 100644
--- a/dev-util/0xtools/0xtools-9999.ebuild
+++ b/dev-util/0xtools/0xtools-9999.ebuild
@@ -1,31 +1,41 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{11..12} )
 
-inherit python-single-r1 systemd toolchain-funcs
+inherit python-single-r1 systemd toolchain-funcs wrapper
 
 DESCRIPTION="Always-on profiling for production systems"
 HOMEPAGE="https://0x.tools/
 	https://github.com/tanelpoder/0xtools/"
 
-if [[ ${PV} == *9999* ]] ; then
+if [[ "${PV}" == *9999* ]] ; then
 	inherit git-r3
+
 	EGIT_REPO_URI="https://github.com/tanelpoder/${PN}.git"
 else
 	SRC_URI="https://github.com/tanelpoder/${PN}/archive/v${PV}.tar.gz
 		-> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~x86"
+
+	KEYWORDS="amd64 ~x86"
 fi
 
 LICENSE="GPL-2+"
 SLOT="0"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
-RDEPEND="${PYTHON_DEPS}"
-BDEPEND="${RDEPEND}"
+BDEPEND="
+	${PYTHON_DEPS}
+"
+RDEPEND="
+	${BDEPEND}
+	sys-power/cpupower
+	$(python_gen_cond_dep '
+		dev-util/bcc[${PYTHON_USEDEP}]
+	')
+"
 
 DOCS=( CHANGELOG.md README.md )
 
@@ -37,20 +47,32 @@ src_compile() {
 }
 
 src_install() {
+	# "cpumhzturbo" requires "turbostat", which is not packaged,
+	# see bug: https://bugs.gentoo.org/939913
+
 	# C executables and scripts
 	exeinto /usr/bin
-	doexe bin/{run_xcapture.sh,run_xcpu.sh,vmtop,xcapture}
+	doexe bin/{cpumhz,vmtop,xcapture,xtop}
+	doexe bin/{run_xcapture.sh,run_xcpu.sh}
 
 	# Python executables
-	python_domodule lib/${PN}
+	python_domodule "lib/${PN}"
 	python_doscript bin/psn
 	python_doscript bin/schedlat
+	python_doscript bin/syscallargs
 
 	# Service
 	systemd_dounit xcapture.service
 	systemd_dounit xcapture-restart.service
 	systemd_dounit xcapture-restart.timer
 
+	# Setup for "xcapture-bpf".
+	exeinto "/lib/${PN}/xcapture"
+	doexe bin/xcapture-bpf
+	insinto "/lib/${PN}/xcapture"
+	doins bin/xcapture-bpf.c
+	make_wrapper xcapture-bpf "/lib/${PN}/xcapture/xcapture-bpf"
+
 	# Service config
 	insinto /etc/default
 	newins xcapture.default xcapture


^ permalink raw reply related	[flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/0xtools/
@ 2024-09-03 18:32 Jakov Smolić
  0 siblings, 0 replies; 12+ messages in thread
From: Jakov Smolić @ 2024-09-03 18:32 UTC (permalink / raw
  To: gentoo-commits

commit:     bc84303300e39aaa1f5bb0ff2b57403c2d462821
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  3 18:32:17 2024 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Tue Sep  3 18:32:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc843033

dev-util/0xtools: Stabilize 2.0.3 amd64, #938984

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 dev-util/0xtools/0xtools-2.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/0xtools/0xtools-2.0.3.ebuild b/dev-util/0xtools/0xtools-2.0.3.ebuild
index d73227e1d32b..8f4e383cb9f6 100644
--- a/dev-util/0xtools/0xtools-2.0.3.ebuild
+++ b/dev-util/0xtools/0xtools-2.0.3.ebuild
@@ -19,7 +19,7 @@ else
 	SRC_URI="https://github.com/tanelpoder/${PN}/archive/v${PV}.tar.gz
 		-> ${P}.tar.gz"
 
-	KEYWORDS="~amd64 ~x86"
+	KEYWORDS="amd64 ~x86"
 fi
 
 LICENSE="GPL-2+"


^ permalink raw reply related	[flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/0xtools/
@ 2024-08-17 16:06 Arthur Zamarin
  0 siblings, 0 replies; 12+ messages in thread
From: Arthur Zamarin @ 2024-08-17 16:06 UTC (permalink / raw
  To: gentoo-commits

commit:     2099857120b37e39f6b7d53027a17a2a754c7508
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 17 16:06:51 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 17 16:06:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20998571

dev-util/0xtools: Stabilize 2.0.2 amd64, #938098

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-util/0xtools/0xtools-2.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/0xtools/0xtools-2.0.2.ebuild b/dev-util/0xtools/0xtools-2.0.2.ebuild
index d73227e1d32b..8f4e383cb9f6 100644
--- a/dev-util/0xtools/0xtools-2.0.2.ebuild
+++ b/dev-util/0xtools/0xtools-2.0.2.ebuild
@@ -19,7 +19,7 @@ else
 	SRC_URI="https://github.com/tanelpoder/${PN}/archive/v${PV}.tar.gz
 		-> ${P}.tar.gz"
 
-	KEYWORDS="~amd64 ~x86"
+	KEYWORDS="amd64 ~x86"
 fi
 
 LICENSE="GPL-2+"


^ permalink raw reply related	[flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/0xtools/
@ 2024-08-01 13:07 Maciej Barć
  0 siblings, 0 replies; 12+ messages in thread
From: Maciej Barć @ 2024-08-01 13:07 UTC (permalink / raw
  To: gentoo-commits

commit:     5c4012c1c572da7ab2d698c8b0967bb06059c20b
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  1 11:42:26 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Aug  1 13:07:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c4012c1

dev-util/0xtools: bump to 2.0.3

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-util/0xtools/0xtools-2.0.3.ebuild | 70 +++++++++++++++++++++++++++++++++++
 dev-util/0xtools/Manifest             |  1 +
 2 files changed, 71 insertions(+)

diff --git a/dev-util/0xtools/0xtools-2.0.3.ebuild b/dev-util/0xtools/0xtools-2.0.3.ebuild
new file mode 100644
index 000000000000..d73227e1d32b
--- /dev/null
+++ b/dev-util/0xtools/0xtools-2.0.3.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..12} )
+
+inherit python-single-r1 systemd toolchain-funcs
+
+DESCRIPTION="Always-on profiling for production systems"
+HOMEPAGE="https://0x.tools/
+	https://github.com/tanelpoder/0xtools/"
+
+if [[ "${PV}" == *9999* ]] ; then
+	inherit git-r3
+
+	EGIT_REPO_URI="https://github.com/tanelpoder/${PN}.git"
+else
+	SRC_URI="https://github.com/tanelpoder/${PN}/archive/v${PV}.tar.gz
+		-> ${P}.tar.gz"
+
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+	${PYTHON_DEPS}
+"
+BDEPEND="
+	${RDEPEND}
+"
+
+DOCS=( CHANGELOG.md README.md )
+
+src_compile() {
+	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}"
+
+	sed -e "/^sys.path.append/s|(.*)|('$(python_get_sitedir)/${PN}')|"	\
+		-i bin/psn -i bin/schedlat || die
+}
+
+src_install() {
+	# C executables and scripts
+	exeinto /usr/bin
+	doexe bin/{cpumhz,cpumhzturbo,vmtop,xcapture,xtop}
+	doexe bin/{run_xcapture.sh,run_xcpu.sh}
+
+	# Python executables
+	python_domodule "lib/${PN}"
+	python_doscript bin/psn
+	python_doscript bin/schedlat
+	python_doscript bin/syscallargs
+
+	# Service
+	systemd_dounit xcapture.service
+	systemd_dounit xcapture-restart.service
+	systemd_dounit xcapture-restart.timer
+
+	# Service config
+	insinto /etc/default
+	newins xcapture.default xcapture
+
+	# Service logs
+	keepdir /var/log/xcapture
+
+	einstalldocs
+}

diff --git a/dev-util/0xtools/Manifest b/dev-util/0xtools/Manifest
index 8205eb80d533..2081ef359603 100644
--- a/dev-util/0xtools/Manifest
+++ b/dev-util/0xtools/Manifest
@@ -1,2 +1,3 @@
 DIST 0xtools-1.2.4.tar.gz 61830 BLAKE2B 6221ded289bc4cf4c39527f35d1ad3ee43f41a60a4a9877056a5ff74fcdd203575d96edbf13af1d32bcc49465d87a2133a8dbec813ae9a5bb233b5fe2e4a36b3 SHA512 f835de65e783d9eb4b26f38be155961a2f4da91639c7e1e39df71cf8be17d27987c8749e44b7b6affe6cdc45c5f65c90be5b2cf22b2f37dcc2eb45452a384ff3
 DIST 0xtools-2.0.2.tar.gz 5989710 BLAKE2B 5e4efd4d21e3ed1fc8b1eed5378d25af3170f2386c738a68d28df5bad44ebdb88fd20a0b554d101b678c15131adb83ae786df1267c8333075c58ea58b8c2ce88 SHA512 5cb627e9b990063867869cdbbdefd7e2b6151410ac19950f683086c9200a8ba1f92192378779dbabc4efd91283cd23243a4b46259d97426331f823941b85883b
+DIST 0xtools-2.0.3.tar.gz 5991280 BLAKE2B 26d71f43a0fbe72d38e675cc525fc91b4a738dd3a99ef6804f8855d15341a423d1b5c54ba9e015bea539d15617393d8994c1415a3ee0b74d2d49e97f6b243586 SHA512 012655d8d12fe5a853ccb9503471893ee09bf0fbbe5d3b3be52b5857cac965be63279546c240748d10d727abc2383b8cf2e91b07ffee69ae509494fb5c5d6767


^ permalink raw reply related	[flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/0xtools/
@ 2024-07-17 15:46 Maciej Barć
  0 siblings, 0 replies; 12+ messages in thread
From: Maciej Barć @ 2024-07-17 15:46 UTC (permalink / raw
  To: gentoo-commits

commit:     a1053b22affd8dcb41a7e59ef6147c4ab6a28e6d
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 17 14:50:48 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Jul 17 15:46:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1053b22

dev-util/0xtools: bump to 2.0.2

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-util/0xtools/0xtools-2.0.2.ebuild | 70 +++++++++++++++++++++++++++++++++++
 dev-util/0xtools/Manifest             |  1 +
 2 files changed, 71 insertions(+)

diff --git a/dev-util/0xtools/0xtools-2.0.2.ebuild b/dev-util/0xtools/0xtools-2.0.2.ebuild
new file mode 100644
index 000000000000..d73227e1d32b
--- /dev/null
+++ b/dev-util/0xtools/0xtools-2.0.2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..12} )
+
+inherit python-single-r1 systemd toolchain-funcs
+
+DESCRIPTION="Always-on profiling for production systems"
+HOMEPAGE="https://0x.tools/
+	https://github.com/tanelpoder/0xtools/"
+
+if [[ "${PV}" == *9999* ]] ; then
+	inherit git-r3
+
+	EGIT_REPO_URI="https://github.com/tanelpoder/${PN}.git"
+else
+	SRC_URI="https://github.com/tanelpoder/${PN}/archive/v${PV}.tar.gz
+		-> ${P}.tar.gz"
+
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+	${PYTHON_DEPS}
+"
+BDEPEND="
+	${RDEPEND}
+"
+
+DOCS=( CHANGELOG.md README.md )
+
+src_compile() {
+	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}"
+
+	sed -e "/^sys.path.append/s|(.*)|('$(python_get_sitedir)/${PN}')|"	\
+		-i bin/psn -i bin/schedlat || die
+}
+
+src_install() {
+	# C executables and scripts
+	exeinto /usr/bin
+	doexe bin/{cpumhz,cpumhzturbo,vmtop,xcapture,xtop}
+	doexe bin/{run_xcapture.sh,run_xcpu.sh}
+
+	# Python executables
+	python_domodule "lib/${PN}"
+	python_doscript bin/psn
+	python_doscript bin/schedlat
+	python_doscript bin/syscallargs
+
+	# Service
+	systemd_dounit xcapture.service
+	systemd_dounit xcapture-restart.service
+	systemd_dounit xcapture-restart.timer
+
+	# Service config
+	insinto /etc/default
+	newins xcapture.default xcapture
+
+	# Service logs
+	keepdir /var/log/xcapture
+
+	einstalldocs
+}

diff --git a/dev-util/0xtools/Manifest b/dev-util/0xtools/Manifest
index 190a0c5615ce..8205eb80d533 100644
--- a/dev-util/0xtools/Manifest
+++ b/dev-util/0xtools/Manifest
@@ -1 +1,2 @@
 DIST 0xtools-1.2.4.tar.gz 61830 BLAKE2B 6221ded289bc4cf4c39527f35d1ad3ee43f41a60a4a9877056a5ff74fcdd203575d96edbf13af1d32bcc49465d87a2133a8dbec813ae9a5bb233b5fe2e4a36b3 SHA512 f835de65e783d9eb4b26f38be155961a2f4da91639c7e1e39df71cf8be17d27987c8749e44b7b6affe6cdc45c5f65c90be5b2cf22b2f37dcc2eb45452a384ff3
+DIST 0xtools-2.0.2.tar.gz 5989710 BLAKE2B 5e4efd4d21e3ed1fc8b1eed5378d25af3170f2386c738a68d28df5bad44ebdb88fd20a0b554d101b678c15131adb83ae786df1267c8333075c58ea58b8c2ce88 SHA512 5cb627e9b990063867869cdbbdefd7e2b6151410ac19950f683086c9200a8ba1f92192378779dbabc4efd91283cd23243a4b46259d97426331f823941b85883b


^ permalink raw reply related	[flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/0xtools/
@ 2023-10-24 17:19 Arthur Zamarin
  0 siblings, 0 replies; 12+ messages in thread
From: Arthur Zamarin @ 2023-10-24 17:19 UTC (permalink / raw
  To: gentoo-commits

commit:     f6511269fe6561a51b0394a459d00d3ce090fe2e
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 24 17:18:34 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 24 17:18:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6511269

dev-util/0xtools: Stabilize 1.2.4 amd64, #916221

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-util/0xtools/0xtools-1.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/0xtools/0xtools-1.2.4.ebuild b/dev-util/0xtools/0xtools-1.2.4.ebuild
index 3b7026647b97..0b5161d406e2 100644
--- a/dev-util/0xtools/0xtools-1.2.4.ebuild
+++ b/dev-util/0xtools/0xtools-1.2.4.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == *9999* ]] ; then
 else
 	SRC_URI="https://github.com/tanelpoder/${PN}/archive/v${PV}.tar.gz
 		-> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~x86"
+	KEYWORDS="amd64 ~x86"
 fi
 
 LICENSE="GPL-2+"


^ permalink raw reply related	[flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/0xtools/
@ 2023-09-15 12:25 Maciej Barć
  0 siblings, 0 replies; 12+ messages in thread
From: Maciej Barć @ 2023-09-15 12:25 UTC (permalink / raw
  To: gentoo-commits

commit:     6e2a9ca20c9c50bba2052f18fbead292f51188ed
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 15 08:09:37 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Sep 15 12:25:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e2a9ca2

dev-util/0xtools: add live 9999

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-util/0xtools/0xtools-9999.ebuild | 62 ++++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)

diff --git a/dev-util/0xtools/0xtools-9999.ebuild b/dev-util/0xtools/0xtools-9999.ebuild
new file mode 100644
index 000000000000..3b7026647b97
--- /dev/null
+++ b/dev-util/0xtools/0xtools-9999.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit python-single-r1 systemd toolchain-funcs
+
+DESCRIPTION="Always-on profiling for production systems"
+HOMEPAGE="https://0x.tools/
+	https://github.com/tanelpoder/0xtools/"
+
+if [[ ${PV} == *9999* ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/tanelpoder/${PN}.git"
+else
+	SRC_URI="https://github.com/tanelpoder/${PN}/archive/v${PV}.tar.gz
+		-> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}"
+BDEPEND="${RDEPEND}"
+
+DOCS=( CHANGELOG.md README.md )
+
+src_compile() {
+	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}"
+
+	sed -e "/^sys.path.append/s|(.*)|('$(python_get_sitedir)/${PN}')|"	\
+		-i bin/psn -i bin/schedlat || die
+}
+
+src_install() {
+	# C executables and scripts
+	exeinto /usr/bin
+	doexe bin/{run_xcapture.sh,run_xcpu.sh,vmtop,xcapture}
+
+	# Python executables
+	python_domodule lib/${PN}
+	python_doscript bin/psn
+	python_doscript bin/schedlat
+
+	# Service
+	systemd_dounit xcapture.service
+	systemd_dounit xcapture-restart.service
+	systemd_dounit xcapture-restart.timer
+
+	# Service config
+	insinto /etc/default
+	newins xcapture.default xcapture
+
+	# Service logs
+	keepdir /var/log/xcapture
+
+	einstalldocs
+}


^ permalink raw reply related	[flat|nested] 12+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/0xtools/
@ 2023-09-15 12:25 Maciej Barć
  0 siblings, 0 replies; 12+ messages in thread
From: Maciej Barć @ 2023-09-15 12:25 UTC (permalink / raw
  To: gentoo-commits

commit:     5912a2b7f1e710188501d564ba942bce1284b29e
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 15 08:08:11 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Sep 15 12:25:28 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5912a2b7

dev-util/0xtools: new package; add 1.2.4

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-util/0xtools/0xtools-1.2.4.ebuild | 62 +++++++++++++++++++++++++++++++++++
 dev-util/0xtools/Manifest             |  1 +
 dev-util/0xtools/metadata.xml         | 27 +++++++++++++++
 3 files changed, 90 insertions(+)

diff --git a/dev-util/0xtools/0xtools-1.2.4.ebuild b/dev-util/0xtools/0xtools-1.2.4.ebuild
new file mode 100644
index 000000000000..3b7026647b97
--- /dev/null
+++ b/dev-util/0xtools/0xtools-1.2.4.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit python-single-r1 systemd toolchain-funcs
+
+DESCRIPTION="Always-on profiling for production systems"
+HOMEPAGE="https://0x.tools/
+	https://github.com/tanelpoder/0xtools/"
+
+if [[ ${PV} == *9999* ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/tanelpoder/${PN}.git"
+else
+	SRC_URI="https://github.com/tanelpoder/${PN}/archive/v${PV}.tar.gz
+		-> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}"
+BDEPEND="${RDEPEND}"
+
+DOCS=( CHANGELOG.md README.md )
+
+src_compile() {
+	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}"
+
+	sed -e "/^sys.path.append/s|(.*)|('$(python_get_sitedir)/${PN}')|"	\
+		-i bin/psn -i bin/schedlat || die
+}
+
+src_install() {
+	# C executables and scripts
+	exeinto /usr/bin
+	doexe bin/{run_xcapture.sh,run_xcpu.sh,vmtop,xcapture}
+
+	# Python executables
+	python_domodule lib/${PN}
+	python_doscript bin/psn
+	python_doscript bin/schedlat
+
+	# Service
+	systemd_dounit xcapture.service
+	systemd_dounit xcapture-restart.service
+	systemd_dounit xcapture-restart.timer
+
+	# Service config
+	insinto /etc/default
+	newins xcapture.default xcapture
+
+	# Service logs
+	keepdir /var/log/xcapture
+
+	einstalldocs
+}

diff --git a/dev-util/0xtools/Manifest b/dev-util/0xtools/Manifest
new file mode 100644
index 000000000000..190a0c5615ce
--- /dev/null
+++ b/dev-util/0xtools/Manifest
@@ -0,0 +1 @@
+DIST 0xtools-1.2.4.tar.gz 61830 BLAKE2B 6221ded289bc4cf4c39527f35d1ad3ee43f41a60a4a9877056a5ff74fcdd203575d96edbf13af1d32bcc49465d87a2133a8dbec813ae9a5bb233b5fe2e4a36b3 SHA512 f835de65e783d9eb4b26f38be155961a2f4da91639c7e1e39df71cf8be17d27987c8749e44b7b6affe6cdc45c5f65c90be5b2cf22b2f37dcc2eb45452a384ff3

diff --git a/dev-util/0xtools/metadata.xml b/dev-util/0xtools/metadata.xml
new file mode 100644
index 000000000000..204bb4159e5d
--- /dev/null
+++ b/dev-util/0xtools/metadata.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+  <maintainer type="person">
+    <email>xgqt@gentoo.org</email>
+    <name>Maciej Barć</name>
+  </maintainer>
+  <longdescription>
+    0x.tools is a set of open-source utilities for analyzing application
+    performance on Linux. It has a goal of deployment simplicity and minimal
+    dependencies, to reduce friction of systematic troubleshooting. There’s no
+    need to upgrade the OS, install kernel modules, heavy monitoring
+    frameworks, Java agents or databases. These tools also work on
+    over-decade-old Linux kernels, like version 2.6.18 from 14 years ago.
+    0x.tools allow you to measure individual thread level activity, like thread
+    sleep states, currently executing system calls and kernel wait locations.
+    Additionally, you can drill down into CPU usage of any thread or the system
+    as a whole. You can be systematic in your troubleshooting - no need for
+    guessing or clever metric-voodoo tricks with traditional system-level
+    statistics.
+  </longdescription>
+  <upstream>
+    <bugs-to>https://github.com/tanelpoder/0xtools/issues</bugs-to>
+    <remote-id type="github">tanelpoder/0xtools</remote-id>
+  </upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-09-28 15:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-28 15:00 [gentoo-commits] repo/gentoo:master commit in: dev-util/0xtools/ Maciej Barć
  -- strict thread matches above, loose matches on Subject: below --
2024-09-24 10:23 Maciej Barć
2024-09-24 10:23 Maciej Barć
2024-09-24 10:23 Maciej Barć
2024-09-24 10:23 Maciej Barć
2024-09-03 18:32 Jakov Smolić
2024-08-17 16:06 Arthur Zamarin
2024-08-01 13:07 Maciej Barć
2024-07-17 15:46 Maciej Barć
2023-10-24 17:19 Arthur Zamarin
2023-09-15 12:25 Maciej Barć
2023-09-15 12:25 Maciej Barć

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox