mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
perf: enable perf stat evens supported by libpfm
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
, libbfd_2_38
|
||||
, libopcodes
|
||||
, libopcodes_2_38
|
||||
, libpfm
|
||||
, libtraceevent
|
||||
, openssl
|
||||
, systemtap
|
||||
@@ -125,6 +126,7 @@ stdenv.mkDerivation {
|
||||
++ lib.optional withGtk gtk2
|
||||
++ lib.optional withZstd zstd
|
||||
++ lib.optional withLibcap libcap
|
||||
++ lib.optional (lib.versionAtLeast kernel.version "5.8") libpfm
|
||||
++ lib.optional (lib.versionAtLeast kernel.version "6.0") python3.pkgs.setuptools;
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = toString [
|
||||
|
||||
Reference in New Issue
Block a user