d1f875c6af
(And update liburcu to 0.8.4 according to release notes for lttng 2.4.x.) In addition to new features and bug fixes, version 2.4.x is needed to build against Linux 3.12 (our new stable kernel).
32 lines
728 B
Nix
32 lines
728 B
Nix
{ 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.4.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://lttng.org/files/lttng-ust/${name}.tar.bz2";
|
|
sha256 = "1nx9b1haiylajzjy03wgfcy85nwg578c6gy8ip55y8cabjrw0hp1";
|
|
};
|
|
|
|
buildInputs = [ liburcu ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "LTTng Userspace Tracer libraries";
|
|
homepage = http://lttng.org/;
|
|
license = licenses.lgpl21Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.bjornfor ];
|
|
};
|
|
|
|
}
|