perf: Use libunwind and libbfd

This gives better stack traces.

+3 -2
+3 -2
pkgs/os-specific/linux/kernel/perf.nix
··· 1 { lib, stdenv, kernel, elfutils, python, perl, newt, slang, asciidoc, xmlto 2 - , docbook_xsl, docbook_xml_dtd_45, libxslt, flex, bison, pkgconfig 3 , withGtk ? false, gtk ? null }: 4 5 with lib; ··· 21 ''; 22 23 # perf refers both to newt and slang 24 nativeBuildInputs = [ asciidoc xmlto docbook_xsl docbook_xml_dtd_45 libxslt flex bison ]; 25 - buildInputs = [ elfutils python perl newt slang pkgconfig] ++ 26 stdenv.lib.optional withGtk gtk; 27 28 NIX_CFLAGS_COMPILE = "-Wno-error=cpp";
··· 1 { lib, stdenv, kernel, elfutils, python, perl, newt, slang, asciidoc, xmlto 2 + , docbook_xsl, docbook_xml_dtd_45, libxslt, flex, bison, pkgconfig, libunwind, binutils 3 , withGtk ? false, gtk ? null }: 4 5 with lib; ··· 21 ''; 22 23 # perf refers both to newt and slang 24 + # binutils is required for libbfd. 25 nativeBuildInputs = [ asciidoc xmlto docbook_xsl docbook_xml_dtd_45 libxslt flex bison ]; 26 + buildInputs = [ elfutils python perl newt slang pkgconfig libunwind binutils ] ++ 27 stdenv.lib.optional withGtk gtk; 28 29 NIX_CFLAGS_COMPILE = "-Wno-error=cpp";