aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/tools/misc/lttng-ust
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2013-07-04 21:32:12 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2013-08-10 14:32:56 +0200
commit33d78777a3a9fb3802e4c7d5332519f921d182db (patch)
tree34075a70cd0d88bf05fe98509482775b71b37722 /pkgs/development/tools/misc/lttng-ust
parent4e8dfe71d3830ff79619b0e9096dc7202de1190d (diff)
lttng-ust: new package
This is the user space library for LTTng. It is needed to do user space tracing, as opposed to kernel space tracing.
Diffstat (limited to 'pkgs/development/tools/misc/lttng-ust')
-rw-r--r--pkgs/development/tools/misc/lttng-ust/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/lttng-ust/default.nix b/pkgs/development/tools/misc/lttng-ust/default.nix
new file mode 100644
index 00000000000..d234a7b74f8
--- /dev/null
+++ b/pkgs/development/tools/misc/lttng-ust/default.nix
@@ -0,0 +1,32 @@
+{ stdenv, fetchurl, liburcu }:
+
+# NOTE:
+# ./configure ...
+# [...]
+# LTTng-UST will be built with the following options:
+#
+# Java support (JNI): Disabled
+# sdt.h integration: Disabled
+# [...]
+#
+# Debian builds with std.h (systemtap).
+
+stdenv.mkDerivation rec {
+ name = "lttng-ust-2.2.1";
+
+ src = fetchurl {
+ url = "https://lttng.org/files/lttng-ust/${name}.tar.bz2";
+ sha256 = "0881ri3v96fjii24qnwgsypk4crri4qp6mc4zp7kwghz8gys9rla";
+ };
+
+ buildInputs = [ liburcu ];
+
+ meta = with stdenv.lib; {
+ description = "LTTng Userspace Tracer libraries";
+ homepage = http://lttng.org/;
+ license = licenses.lgpl21Plus;
+ platforms = platforms.linux;
+ maintainers = [ maintainers.bjornfor ];
+ };
+
+}