blob: 4b8583dcc952d77bbe1d222d3c7b8231c0ed7c0c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ stdenv, kernel, elfutils }:
stdenv.mkDerivation {
name = "perf-linux-${kernel.version}";
inherit (kernel) src;
preConfigure = ''
cd tools/perf
export makeFlags="DESTDIR=$out"
'';
buildInputs = [ elfutils ];
meta = {
homepage = https://perf.wiki.kernel.org/;
description = "Linux tools to profile with performance counters";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
}
|