3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #164566 from jian-lin/linux-enable-TASKSTATS-and-TASK_DELAY_ACCT

This commit is contained in:
Sandro 2022-03-18 15:53:27 +01:00 committed by GitHub
commit c377a6f7f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -909,6 +909,11 @@ let
ANDROID_BINDER_IPC = { optional = true; tristate = whenAtLeast "5.0" "y";};
ANDROID_BINDERFS = { optional = true; tristate = whenAtLeast "5.0" "y";};
ANDROID_BINDER_DEVICES = { optional = true; freeform = whenAtLeast "5.0" "binder,hwbinder,vndbinder";};
TASKSTATS = yes;
TASK_DELAY_ACCT = yes;
TASK_XACCT = yes;
TASK_IO_ACCOUNTING = yes;
} // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "aarch64-linux") {
# Enable CPU/memory hotplug support
# Allows you to dynamically add & remove CPUs/memory to a VM client running NixOS without requiring a reboot