diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-03-11 18:14:57 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-03-11 18:15:48 +0100 |
commit | fa3bcc4f1c168d4d6248e214f8c9d996859df7a3 (patch) | |
tree | b577a6b9b6b9749eddc4a7af9dbe9d4284054312 /pkgs/os-specific/linux/kernel/perf.nix | |
parent | 61cf7e1265a4ce79d93e6f642611e71eb8753625 (diff) |
perf: Use libunwind and libbfd
This gives better stack traces.
Diffstat (limited to 'pkgs/os-specific/linux/kernel/perf.nix')
-rw-r--r-- | pkgs/os-specific/linux/kernel/perf.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/kernel/perf.nix b/pkgs/os-specific/linux/kernel/perf.nix index be375ea310f15..efd3515ff2406 100644 --- a/pkgs/os-specific/linux/kernel/perf.nix +++ b/pkgs/os-specific/linux/kernel/perf.nix @@ -1,5 +1,5 @@ { lib, stdenv, kernel, elfutils, python, perl, newt, slang, asciidoc, xmlto -, docbook_xsl, docbook_xml_dtd_45, libxslt, flex, bison, pkgconfig +, docbook_xsl, docbook_xml_dtd_45, libxslt, flex, bison, pkgconfig, libunwind, binutils , withGtk ? false, gtk ? null }: with lib; @@ -21,8 +21,9 @@ stdenv.mkDerivation { ''; # perf refers both to newt and slang + # binutils is required for libbfd. nativeBuildInputs = [ asciidoc xmlto docbook_xsl docbook_xml_dtd_45 libxslt flex bison ]; - buildInputs = [ elfutils python perl newt slang pkgconfig] ++ + buildInputs = [ elfutils python perl newt slang pkgconfig libunwind binutils ] ++ stdenv.lib.optional withGtk gtk; NIX_CFLAGS_COMPILE = "-Wno-error=cpp"; |