diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index b23d52b39e3c..ec90620fce13 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") ''