6a4f068b9e
This is the Linux Trace Toolkit. Included in this package: Command-line client: lttng Tracing daemons: lttng-sessiond (automatically started by lttng) lttng-relayd (remote trace collection daemon) Userspace tracing can be done by using liblttng-ust. To do kernel tracing we also need the LTTng kernel modules. I've added a patch that changes "/sbin/modprobe" to just "modprobe".
23 lines
654 B
Nix
23 lines
654 B
Nix
{ stdenv, fetchurl, popt, libuuid, liburcu, lttngUst }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "lttng-tools-2.2.3";
|
|
|
|
src = fetchurl {
|
|
url = "https://lttng.org/files/lttng-tools/${name}.tar.bz2";
|
|
sha256 = "1p16n42j34xkaj17zg2g12rzkfwpdv9ay1h4bkdq6038v320mljv";
|
|
};
|
|
|
|
buildInputs = [ popt libuuid liburcu lttngUst ];
|
|
|
|
patches = [ ./lttng-change-modprobe-path-from-sbin-modprobe-to-modprobe.patch ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Tracing tools (kernel + user space) for Linux";
|
|
homepage = http://lttng.org/;
|
|
license = licenses.lgpl21;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.bjornfor ];
|
|
};
|
|
|
|
}
|