diff options
author | Marco Leogrande <dark.knight.ita@gmail.com> | 2016-11-10 20:16:00 -0800 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-12-02 20:13:29 +0100 |
commit | 27a614a0ac1376d287e4ff6142f1dad61088ead8 (patch) | |
tree | 2f6ead48e688be1aa8d714cb0d4e4eeeffcdb544 /net-libs/nodejs/metadata.xml | |
parent | sys-kernel/gentoo-sources: Linux patch 4.8.12 (diff) | |
download | gentoo-27a614a0ac1376d287e4ff6142f1dad61088ead8.tar.gz gentoo-27a614a0ac1376d287e4ff6142f1dad61088ead8.tar.bz2 gentoo-27a614a0ac1376d287e4ff6142f1dad61088ead8.zip |
net-libs/nodejs: add optional support for dtrace-based tracing
NodeJS supports dtrace-based tracing, that can be used by
dev-util/systemtap and, more recently, dev-util/bcc. This support is
forcibly disabled in nodejs ebuilds.
This commit adds a systemtap USE flag to be able to turn on this
support conditionally. The name of this flag matches the choice done
for other ebuilds, like dev-db/mysql or app-emulation/qemu. Despite
what has been done in those ebuilds, however, a dependency on
dev-util/systemtap is not added: this is because, as of late,
systemtap is not the only consumer of those traces anymore.
Closes: https://github.com/gentoo/gentoo/pull/2803
Diffstat (limited to 'net-libs/nodejs/metadata.xml')
-rw-r--r-- | net-libs/nodejs/metadata.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net-libs/nodejs/metadata.xml b/net-libs/nodejs/metadata.xml index e53bc814f688..ddbfaa7ad24d 100644 --- a/net-libs/nodejs/metadata.xml +++ b/net-libs/nodejs/metadata.xml @@ -16,5 +16,6 @@ <use> <flag name="npm">Enable NPM package manager</flag> <flag name="snapshot">Enable snapshot creation for faster startup</flag> + <flag name="systemtap">Enable SystemTAP/DTrace tracing</flag> </use> </pkgmetadata> |