mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
Adding blktrace
Tool to get traces of operations in block devices on linux.
This commit is contained in:
parent
c2caf86d21
commit
94520a25ad
23
pkgs/os-specific/linux/blktrace/default.nix
Normal file
23
pkgs/os-specific/linux/blktrace/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ stdenv, fetchurl, libaio }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "blktrace-1.1.0";
|
||||
|
||||
# Official source
|
||||
# "git://git.kernel.org/pub/scm/linux/kernel/git/axboe/blktrace.git"
|
||||
src = fetchurl {
|
||||
url = "http://brick.kernel.dk/snaps/blktrace-1.1.0.tar.bz2";
|
||||
sha256 = "15cj9aki7z5i5y6bnchqry6yp40r4lmgmam6ar5gslnx0smgm8jl";
|
||||
};
|
||||
|
||||
buildInputs = [ libaio ];
|
||||
|
||||
preConfigure = ''
|
||||
sed s,/usr/local,$out, -i Makefile
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Block layer IO tracing mechanism";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
};
|
||||
}
|
@ -10212,6 +10212,8 @@ in
|
||||
|
||||
batctl = callPackage ../os-specific/linux/batman-adv/batctl.nix { };
|
||||
|
||||
blktrace = callPackage ../os-specific/linux/blktrace { };
|
||||
|
||||
bluez4 = lowPrio (callPackage ../os-specific/linux/bluez {
|
||||
pygobject = pygobject3;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user