mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
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".
24 lines
654 B
Nix
24 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 ];
|
|
};
|
|
|
|
}
|