Closes: https://bugs.gentoo.org/698296
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Yixun Lan <dlan@gentoo.org>
LICENSE="GPL-2"
SLOT="0/${MY_SLOT}"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
-IUSE="examples"
+IUSE="examples numa"
-DEPEND="dev-libs/userspace-rcu:="
+DEPEND="
+ dev-libs/userspace-rcu:=
+ numa? ( sys-process/numactl )
+ "
RDEPEND="${DEPEND}"
S="${WORKDIR}"/${MY_P}
}
src_configure() {
- econf --docdir=/usr/share/doc/${PF}
+ econf \
+ $(use_enable numa) \
+ --docdir=/usr/share/doc/${PF}
}
<email>dlan@gentoo.org</email>
<name>Yixun Lan</name>
</maintainer>
-
+ <use>
+ <flag name="numa">Enable numa support</flag>
+ </use>
<longdescription>
The userspace tracer is designed to provide detailed information about userspace activity. UST is a port of the LTTng kernel tracer to userspace. Like the LTTng kernel tracer, performance is the main goal. Tracing does not require system calls or traps. UST instrumentation points may be added in any userspace code including signal handlers and libraries.
</longdescription>