|
|
|
@ -1,19 +1,16 @@ |
|
|
|
|
{ stdenv, fetchurl, popt, libuuid, liburcu, lttng-ust, kmod, libxml2 }: |
|
|
|
|
{ stdenv, fetchurl, pkgconfig, popt, libuuid, liburcu, lttng-ust, kmod, libxml2 }: |
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
|
name = "lttng-tools-2.5.2"; |
|
|
|
|
name = "lttng-tools-${version}"; |
|
|
|
|
version = "2.9.3"; |
|
|
|
|
|
|
|
|
|
src = fetchurl { |
|
|
|
|
url = "https://lttng.org/files/lttng-tools/${name}.tar.bz2"; |
|
|
|
|
sha256 = "0g931f90pl9bfgsxihrj0zlw9ivyaplbiw28axkscmjvzd1d6lhz"; |
|
|
|
|
sha256 = "0kmj0ya5625mn2khbnghhsdmjr66xs0mhrvbrsdvrp3pm6mbmrm6"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
buildInputs = [ popt libuuid liburcu lttng-ust libxml2 ]; |
|
|
|
|
|
|
|
|
|
prePatch = '' |
|
|
|
|
sed -e "s|/sbin/modprobe|${kmod}/bin/modprobe|g" \ |
|
|
|
|
-i src/bin/lttng-sessiond/modprobe.c |
|
|
|
|
''; |
|
|
|
|
nativeBuildInputs = [ pkgconfig ]; |
|
|
|
|
buildInputs = [ popt libuuid liburcu lttng-ust libxml2 kmod ]; |
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; { |
|
|
|
|
description = "Tracing tools (kernel + user space) for Linux"; |
|
|
|
|