2013-07-04 21:32:12 +02:00
|
|
|
{ stdenv, fetchurl, liburcu }:
|
|
|
|
|
|
|
|
# NOTE:
|
|
|
|
# ./configure ...
|
|
|
|
# [...]
|
|
|
|
# LTTng-UST will be built with the following options:
|
2017-06-18 22:43:14 +02:00
|
|
|
#
|
2013-07-04 21:32:12 +02:00
|
|
|
# Java support (JNI): Disabled
|
|
|
|
# sdt.h integration: Disabled
|
|
|
|
# [...]
|
|
|
|
#
|
|
|
|
# Debian builds with std.h (systemtap).
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-02-23 11:01:55 +01:00
|
|
|
name = "lttng-ust-${version}";
|
2017-06-18 22:43:14 +02:00
|
|
|
version = "2.9.1";
|
2013-07-04 21:32:12 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://lttng.org/files/lttng-ust/${name}.tar.bz2";
|
2017-06-18 22:43:14 +02:00
|
|
|
sha256 = "196snxrs1p205jz566rwxh7dqzsa3k16c7vm6k7i3gdvrmkx54dq";
|
2013-07-04 21:32:12 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ liburcu ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "LTTng Userspace Tracer libraries";
|
|
|
|
homepage = http://lttng.org/;
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|