summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2017-06-21 17:14:04 +0100
committerJörg Thalheim <joerg@thalheim.io>2017-06-21 17:16:46 +0100
commite89e96a7551e4213f50e0f44467546a26d42ea5f (patch)
tree850e0ae061aca7bc24f4911d26467f4af8944d26 /pkgs
parent7bd918b3641ce30f4766dffadd779bc7f4614195 (diff)
downloadnixpkgs-e89e96a7551e4213f50e0f44467546a26d42ea5f.tar
nixpkgs-e89e96a7551e4213f50e0f44467546a26d42ea5f.tar.gz
nixpkgs-e89e96a7551e4213f50e0f44467546a26d42ea5f.tar.bz2
nixpkgs-e89e96a7551e4213f50e0f44467546a26d42ea5f.tar.lz
nixpkgs-e89e96a7551e4213f50e0f44467546a26d42ea5f.tar.xz
nixpkgs-e89e96a7551e4213f50e0f44467546a26d42ea5f.tar.zst
nixpkgs-e89e96a7551e4213f50e0f44467546a26d42ea5f.zip
linux_4_11: renable CONFIG_UPROBE_EVENTS
CONFIG_UPROBE_EVENT was renamed to CONFIG_UPROBE_EVENTS.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/os-specific/linux/kernel/common-config.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix
index b23d52b39e3..ec90620fce1 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -472,8 +472,10 @@ with stdenv.lib;
   SCHED_TRACER y
   STACK_TRACER y
 
-  ${optionalString (versionOlder version "4.11") ''
+  ${if versionOlder version "4.11" then ''
     UPROBE_EVENT? y
+  '' else ''
+    UPROBE_EVENTS? y
   ''}
 
   ${optionalString (versionAtLeast version "4.4") ''