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 000000000000..d234a7b74f8a --- /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 ]; + }; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bc9e0ccbc986..d4e467267c65 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3542,6 +3542,8 @@ let ltrace = callPackage ../development/tools/misc/ltrace { }; + lttngUst = callPackage ../development/tools/misc/lttng-ust { }; + mk = callPackage ../development/tools/build-managers/mk { }; neoload = callPackage ../development/tools/neoload {